on xenial help sign in
Whoops, initialize our pointer before use...
commit1e3264e96ce0f2ebeee8f1704f88b8451ff25cb9 authorSteve Langasek <steve.langasek@canonical.com> dateThu 10 Oct 2013, 11:00 (13 years ago) parent0b96624
1 file changed+1−1
plugins/Unity/Indicators/indicatorsmanager.cpp+1−1
plugins/Unity/Indicators/indicatorsmanager.cpp+1−1
@@ -215,7 +215,7 @@ void IndicatorsManager::setLoaded(bool loaded)
215215 Q_EMIT loadedChanged(m_loaded);
216216
217217 auto upstartsession = qgetenv("UPSTART_SESSION");
218− NihDBusProxy * upstart;
218+ NihDBusProxy * upstart = NULL;
219219
220220 if (!upstartsession.isNull()) {
221221 DBusConnection * conn = NULL;