diff --git a/src/core/closure.cpp b/src/core/closure.cpp index 2385cf591..5c24c0583 100644 --- a/src/core/closure.cpp +++ b/src/core/closure.cpp @@ -51,6 +51,7 @@ void Closure::Connect(QObject* sender, const char* signal) { Q_ASSERT(success); success = connect(sender, SIGNAL(destroyed()), SLOT(Cleanup())); Q_ASSERT(success); + Q_UNUSED(success); } void Closure::Invoked() {