summaryrefslogtreecommitdiffstats
path: root/src/plugins/bearer
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2010-11-26 19:55:49 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2010-11-28 11:44:25 (GMT)
commitd910fa67be7981714bfc854a7b6cc10e0ecfb858 (patch)
tree0d1fb337b223e171aa75875b3d155f98a1750024 /src/plugins/bearer
parent220d13f0e83f9a70e69d95cb78711fec309e83cc (diff)
downloadQt-d910fa67be7981714bfc854a7b6cc10e0ecfb858.zip
Qt-d910fa67be7981714bfc854a7b6cc10e0ecfb858.tar.gz
Qt-d910fa67be7981714bfc854a7b6cc10e0ecfb858.tar.bz2
Fix warning about uninitialised varibale.
This variable cannot be dereferenced when it's zero, but let's silence the compiler warning (GCC 4.4 on ARM).
Diffstat (limited to 'src/plugins/bearer')
-rw-r--r--src/plugins/bearer/connman/qconnmanengine.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/bearer/connman/qconnmanengine.cpp b/src/plugins/bearer/connman/qconnmanengine.cpp
index 184ceb4..7ac86b3 100644
--- a/src/plugins/bearer/connman/qconnmanengine.cpp
+++ b/src/plugins/bearer/connman/qconnmanengine.cpp
@@ -726,6 +726,7 @@ void QConnmanEngine::addNetworkConfiguration(const QString &networkPath)
if(servicePath.isEmpty()) {
id = QString::number(qHash(networkPath));
+ serv = 0; // ### FIXME
} else {
id = QString::number(qHash(servicePath));
serv = new QConnmanServiceInterface(servicePath,this);