warnings--: helper needs to be created, but appears to be unused

icc-effect-5.14.5
Boudewijn Rempt 2015-06-12 03:11:14 +02:00
parent 955b0bb8e8
commit e946e5e0db
1 changed files with 2 additions and 1 deletions

View File

@ -298,6 +298,7 @@ KWIN_EXPORT int kdemain(int argc, char * argv[])
KWin::SessionManager weAreIndeed;
#endif
KWin::SessionSaveDoneHelper helper;
Q_UNUSED(helper); // The sessionsavedonehelper opens a side channel to the smserver,
// listens for events and talks to it, so it needs to be created.
return a.exec();
}