summaryrefslogtreecommitdiffstats
path: root/Tests/TestApp/src/TestApp.cpp
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-10-25 06:57:11 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-10-25 06:57:11 +0000
commit5a116d0bb5971848235ddd72915520f852c43ba2 (patch)
tree9f59ad53ad09858b8c3443ff5ff9c84c0be463fa /Tests/TestApp/src/TestApp.cpp
parentUpdated core & samples; added Tutorial 16; updated troubleshooting (diff)
downloadDiligentEngine-5a116d0bb5971848235ddd72915520f852c43ba2.tar.gz
DiligentEngine-5a116d0bb5971848235ddd72915520f852c43ba2.zip
Fixed a number of clang warning to reduce the log size and fix travis build error
Diffstat (limited to 'Tests/TestApp/src/TestApp.cpp')
-rw-r--r--Tests/TestApp/src/TestApp.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Tests/TestApp/src/TestApp.cpp b/Tests/TestApp/src/TestApp.cpp
index d24e105..623233e 100644
--- a/Tests/TestApp/src/TestApp.cpp
+++ b/Tests/TestApp/src/TestApp.cpp
@@ -86,28 +86,28 @@ TestApp::TestApp() :
for (Uint32 i = 0; i < 32; ++i)
{
auto MSB = PlatformMisc::GetMSB((Uint32{1} << i) | 1);
- VERIFY_EXPR(MSB == i);
+ VERIFY_EXPR(MSB == i); (void)MSB;
}
VERIFY_EXPR(PlatformMisc::GetMSB(Uint64{0}) == 64);
for (Uint32 i = 0; i < 64; ++i)
{
auto MSB = PlatformMisc::GetMSB((Uint64{1} << i) | 1);
- VERIFY_EXPR(MSB == i);
+ VERIFY_EXPR(MSB == i); (void)MSB;
}
VERIFY_EXPR(PlatformMisc::GetLSB(Uint32{0}) == 32);
for (Uint32 i = 0; i < 32; ++i)
{
auto LSB = PlatformMisc::GetLSB((Uint32{1} << i) | (Uint32{1}<<31));
- VERIFY_EXPR(LSB == i);
+ VERIFY_EXPR(LSB == i); (void)LSB;
}
VERIFY_EXPR(PlatformMisc::GetLSB(Uint64{0}) == 64);
for (Uint32 i = 0; i < 64; ++i)
{
auto LSB = PlatformMisc::GetLSB((Uint64{1} << i) | (Uint64{1}<<63));
- VERIFY_EXPR(LSB == i);
+ VERIFY_EXPR(LSB == i); (void)LSB;
}
VERIFY_EXPR(PlatformMisc::CountOneBits(Uint32{0}) == 0);