diff options
author | Corey Minyard <cminyard@mvista.com> | 2013-09-05 07:36:34 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-05 11:34:31 -0400 |
commit | f0ba93907b5a7c3c87b6baae1260a254ecfd6f98 (patch) | |
tree | 93c48916192bf0e094205bca7117a0a675c2a481 /drivers/char/ipmi | |
parent | fa7df37b588f48a1ff6ef005187f3c5c2281df95 (diff) |
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>
Diffstat (limited to 'drivers/char/ipmi')
-rw-r--r-- | drivers/char/ipmi/ipmi_msghandler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/ipmi/ipmi_msghandler.c b/drivers/char/ipmi/ipmi_msghandler.c index 4445fa164a2d..ec4e10fcf1a5 100644 --- a/drivers/char/ipmi/ipmi_msghandler.c +++ b/drivers/char/ipmi/ipmi_msghandler.c | |||
@@ -1848,7 +1848,7 @@ int ipmi_request_settime(ipmi_user_t user, | |||
1848 | int retries, | 1848 | int retries, |
1849 | unsigned int retry_time_ms) | 1849 | unsigned int retry_time_ms) |
1850 | { | 1850 | { |
1851 | unsigned char saddr, lun; | 1851 | unsigned char saddr = 0, lun = 0; |
1852 | int rv; | 1852 | int rv; |
1853 | 1853 | ||
1854 | if (!user) | 1854 | if (!user) |