user avatar
Mark cleanup function as unused if compiled with QT_QML_NO_DEBUGGER
Ulf Hermann authored
The static cleanup function in qqmldebugserver.cpp is only used if the
debug server is actually created. If not we can mark it as unused to
avoid compile warnings. Enclosing it in #ifdef would be uglier.

Task-number: QTBUG-42394
Change-Id: Ieb7fa38ecb346e80ce815ced85eb3a168bad9d99
Reviewed-by: default avatarSimon Hausmann <simon.hausmann@digia.com>
5280e866