Fix warning about unused variable

qeglfshooks.h:77:21: error: 'hooks' defined but not used [-Werror=unused-variable]

Defining a static variable in a header file is a terrible idea. But if
I remove it, other code breaks and I don't have the time to fix them
all.

Change-Id: I4f94cbc7f0790df91853662749701e8fb11c2347
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
This commit is contained in:
Thiago Macieira 2012-12-22 13:40:26 -08:00 committed by The Qt Project
parent aa90f78a34
commit afa57146cb

View File

@ -50,6 +50,7 @@ QT_BEGIN_NAMESPACE
void QEglFSHooks::platformInit()
{
Q_UNUSED(hooks);
}
void QEglFSHooks::platformDestroy()