summaryrefslogtreecommitdiffstats
path: root/examples/opengl/pbuffers
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2013-09-14 15:49:43 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-14 23:40:18 +0200
commit51cffbdcb7f2a88c3cde381fa6ca704fd723c242 (patch)
treeb73c157f5d82937dfa6744a259caf5212ce103e3 /examples/opengl/pbuffers
parent6827728d5ac0e878cf330ecaea09a0cb21a7424d (diff)
examples: remove unused static const variables
They cause warnings on Clang. Change-Id: If599303f4a00c2a24f0a7c369299f3ea6fe7fc91 Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Diffstat (limited to 'examples/opengl/pbuffers')
-rw-r--r--examples/opengl/pbuffers/cube.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/opengl/pbuffers/cube.cpp b/examples/opengl/pbuffers/cube.cpp
index ffa08780d7..dc1bb23fea 100644
--- a/examples/opengl/pbuffers/cube.cpp
+++ b/examples/opengl/pbuffers/cube.cpp
@@ -44,8 +44,6 @@
#include <QtGui/QImage>
#include <QtCore/QPropertyAnimation>
-static const qreal FACE_SIZE = 0.4;
-
static const qreal speeds[] = { 3.8f, 4.4f, 5.6f };
static const qreal amplitudes[] = { 2.0f, 2.5f, 3.0f };