mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
wpa_gui: Initialize WpaGuiApp::w in the constructor
This gets rid of a static analyzer warning. The actual value for WpaGuiApp::w will be set after the constructor has returned, so this value was not really used uninitialized. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
f6df3f3a00
commit
f6332b0be1
@ -19,6 +19,7 @@ WpaGuiApp::WpaGuiApp(int &argc, char **argv) :
|
||||
argc(argc),
|
||||
argv(argv)
|
||||
{
|
||||
w = NULL;
|
||||
}
|
||||
|
||||
#if !defined(QT_NO_SESSIONMANAGER) && QT_VERSION < 0x050000
|
||||
|
Loading…
Reference in New Issue
Block a user