diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2015-11-12 17:28:18 -0800 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2015-11-18 00:30:43 +0000 |
commit | e8d9bb906b777678c56ee80a4b51ef84ebbdc96d (patch) | |
tree | e3e975755f838c45173fd6f9046ed354fcccbe32 /tests | |
parent | 1378e7af1de3c0133e277ec3832ccd72e7286e67 (diff) |
tst_compiler: Silence MSVC 2015 warning about unused variable
tst_compiler.cpp(639): warning C4101: 'c': unreferenced local variable
Change-Id: If0101953ceb66bc8e8f5ab969d54f4e1c25dd414
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/other/compiler/tst_compiler.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/other/compiler/tst_compiler.cpp b/tests/auto/other/compiler/tst_compiler.cpp index 5ef247483d..2c95002cb2 100644 --- a/tests/auto/other/compiler/tst_compiler.cpp +++ b/tests/auto/other/compiler/tst_compiler.cpp @@ -637,6 +637,7 @@ void tst_Compiler::cxx11_alignas() QSKIP("Compiler does not support C++11 feature"); #else alignas(double) char c; + Q_UNUSED(c); QCOMPARE(Q_ALIGNOF(c), Q_ALIGNOF(double)); #endif } |