diff --git a/src/corelib/io/qloggingcategory.cpp b/src/corelib/io/qloggingcategory.cpp index 10f7a9bbeb..93a98b1835 100644 --- a/src/corelib/io/qloggingcategory.cpp +++ b/src/corelib/io/qloggingcategory.cpp @@ -115,6 +115,9 @@ QLoggingCategory::QLoggingCategory(const char *category) enabledWarning(true), enabledCritical(true) { + Q_UNUSED(d); + Q_UNUSED(placeholder); + bool isDefaultCategory = (category == 0) || (strcmp(category, qtDefaultCategoryName) == 0);