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
1 changed files with 1 additions and 0 deletions
|
@ -19,6 +19,7 @@ WpaGuiApp::WpaGuiApp(int &argc, char **argv) :
|
||||||
argc(argc),
|
argc(argc),
|
||||||
argv(argv)
|
argv(argv)
|
||||||
{
|
{
|
||||||
|
w = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !defined(QT_NO_SESSIONMANAGER) && QT_VERSION < 0x050000
|
#if !defined(QT_NO_SESSIONMANAGER) && QT_VERSION < 0x050000
|
||||||
|
|
Loading…
Reference in a new issue