Skip to content

Commit

Permalink
Also fix the unused variable warning that ICC found with Clang
Browse files Browse the repository at this point in the history
The ICC fix happened on e02cb2b. This
now fixes for Clang 3.4:

cached-powers.cc:134:18: warning: unused variable 'kCachedPowersLength' [-Wunused-const-variable]

Change-Id: I876d9d5cf43fb7eb76117d6fdc37265295c360df
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
  • Loading branch information
thiagomacieira authored and The Qt Project committed Jan 3, 2014
1 parent fa5db42 commit 60aed66
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/qml/qml.pro
Expand Up @@ -19,7 +19,9 @@ exists("qqml_enable_gcov") {
QMAKE_DOCS = $$PWD/doc/qtqml.qdocconf

# 2415: variable "xx" of static storage duration was declared but never referenced
# unused variable 'xx' [-Werror,-Wunused-const-variable]
intel_icc: WERROR += -ww2415
clang: WERROR += -Wno-error=unused-const-variable

load(qt_module)

Expand Down

0 comments on commit 60aed66

Please sign in to comment.