]> git.baikalelectronics.ru Git - kernel.git/commit
staging: r8188eu: Fix uninitialized variable change_inx
authorGeert Uytterhoeven <geert@linux-m68k.org>
Fri, 6 Sep 2013 12:45:36 +0000 (14:45 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Sep 2013 14:39:27 +0000 (07:39 -0700)
commit067ea589e63e87d26f151fdc14d606e8a42455a0
treee6a978116547ac33cfaf5bce21504bb8c960ad98
parent170318a7de7989c7a47773e08dded7a18fd73047
staging: r8188eu: Fix uninitialized variable change_inx

drivers/staging/rtl8188eu/core/rtw_wlan_util.c: In function ‘WMMOnAssocRsp’:
drivers/staging/rtl8188eu/core/rtw_wlan_util.c:634: warning: ‘change_inx’ may be used uninitialized in this function

And the compiler is right: change_inx should be initialized to false.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_wlan_util.c