ipmi: Initialize locals to avoid warning
A couple of variables were getting warnings about being uninitialized. It was a false warning, but initialize them, anyway. Signed-off-by: Corey Minyard <cminyard@mvista.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
fa7df37b58
commit
f0ba93907b
@ -1848,7 +1848,7 @@ int ipmi_request_settime(ipmi_user_t user,
|
||||
int retries,
|
||||
unsigned int retry_time_ms)
|
||||
{
|
||||
unsigned char saddr, lun;
|
||||
unsigned char saddr = 0, lun = 0;
|
||||
int rv;
|
||||
|
||||
if (!user)
|
||||
|
Loading…
Reference in New Issue
Block a user