diff options
| author | Eric Moore <[email protected]> | 2007-09-29 10:22:54 -0600 |
|---|---|---|
| committer | James Bottomley <[email protected]> | 2007-10-12 14:52:27 -0400 |
| commit | ab37128797148edb5993d98b638d668f75ee5119 (patch) | |
| tree | f3fb9bc5f9d9be82006bbd0fe2b5ad6a222a5536 /include/linux/timerqueue.h | |
| parent | e1fc2b5167f9c3614099e55d3f49763a26a5a339 (diff) | |
[SCSI] mptctl : shutup uninitialized variable warnings
drivers/message/fusion/mptctl.c: In function ‘mptctl_mpt_command’:
drivers/message/fusion/mptctl.c:1764: warning: ‘bufIn.len’ may be used uninitialized in this function
drivers/message/fusion/mptctl.c:1765: warning: ‘bufOut.len’ may be used uninitialized in this function
come because gcc gets confused by some "goto" statements in above
function. The warnings have been verified to be bogus, however, the
function does initialize these later (after the offending goto's) in
the function anyway. So let's move those initializations to top of
function, thereby also shutting up these warnings.
Signed-off-by: Eric Moore <[email protected]>
Signed-off-by: Satyam Sharma <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions