From 3c2afc78bc2a9a0d2426ad5d142b97d4cb12eae1 Mon Sep 17 00:00:00 2001 From: Pekka Vuorela Date: Tue, 7 Jul 2015 14:12:35 +0300 Subject: [PATCH] Avoid unitialized variable warning --- .../tst_connectionagent_plugintest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/auto/tst_connectionagent_plugin/tst_connectionagent_plugintest.cpp b/test/auto/tst_connectionagent_plugin/tst_connectionagent_plugintest.cpp index 082c536..0246823 100644 --- a/test/auto/tst_connectionagent_plugin/tst_connectionagent_plugintest.cpp +++ b/test/auto/tst_connectionagent_plugin/tst_connectionagent_plugintest.cpp @@ -154,7 +154,7 @@ void Tst_connectionagent_pluginTest::testUserInputRequested() void Tst_connectionagent_pluginTest::tst_tethering() { - NetworkService *wlanService; + NetworkService *wlanService = 0; NetworkService *mobiledataService; QVector wifiServices = netman->getServices("wifi");