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:
Corey Minyard 2013-09-05 06:36:34 -05:00 committed by Linus Torvalds
parent fa7df37b58
commit f0ba93907b

View File

@ -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)