diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2012-12-22 13:40:26 -0800 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-01-02 08:04:32 +0100 |
commit | afa57146cb519f27d816a295dadb2f0e71733f4b (patch) | |
tree | 4f37463799bf09cc026ae12c9c062ebd0c551ef8 /src/plugins/platforms | |
parent | aa90f78a34bb1b8b0d185504c97b0b5cec5c66da (diff) |
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>
Diffstat (limited to 'src/plugins/platforms')
-rw-r--r-- | src/plugins/platforms/eglfs/qeglfshooks_stub.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/platforms/eglfs/qeglfshooks_stub.cpp b/src/plugins/platforms/eglfs/qeglfshooks_stub.cpp index f60b9ee83d..7106b99490 100644 --- a/src/plugins/platforms/eglfs/qeglfshooks_stub.cpp +++ b/src/plugins/platforms/eglfs/qeglfshooks_stub.cpp @@ -50,6 +50,7 @@ QT_BEGIN_NAMESPACE void QEglFSHooks::platformInit() { + Q_UNUSED(hooks); } void QEglFSHooks::platformDestroy() |