Prevent clang from warning about unused variables

Fixes a compiler warning introduced by 79b975756a

Change-Id: Ie9bc677d061f0bb0530eae88715069042b2ab440
Reviewed-by: hjk <hjk121@nokiamail.com>
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
This commit is contained in:
Kai Koehne 2013-11-08 14:44:46 +01:00 committed by The Qt Project
parent 34d21610ba
commit 7a78a22e65

View File

@ -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);