From 5a116d0bb5971848235ddd72915520f852c43ba2 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Thu, 24 Oct 2019 23:57:11 -0700 Subject: Fixed a number of clang warning to reduce the log size and fix travis build error --- Tests/TestApp/src/TestBlendState.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Tests/TestApp/src/TestBlendState.cpp') diff --git a/Tests/TestApp/src/TestBlendState.cpp b/Tests/TestApp/src/TestBlendState.cpp index f1f373e..91035f2 100644 --- a/Tests/TestApp/src/TestBlendState.cpp +++ b/Tests/TestApp/src/TestBlendState.cpp @@ -237,6 +237,7 @@ TestBlendState::TestBlendState( IRenderDevice *pDevice, IDeviceContext *pContext assert( RT1.DestBlendAlpha == BLEND_FACTOR_INV_SRC_ALPHA); assert( RT1.BlendOpAlpha == BLEND_OPERATION_SUBTRACT); assert( RT1.RenderTargetWriteMask == (COLOR_MASK_GREEN | COLOR_MASK_RED) ); + (void)RT1; const auto& RT3 = BSDesc2.RenderTargets[2]; assert(RT3.BlendEnable == true); @@ -247,6 +248,7 @@ TestBlendState::TestBlendState( IRenderDevice *pDevice, IDeviceContext *pContext assert(RT3.DestBlendAlpha == BLEND_FACTOR_INV_SRC_ALPHA); assert(RT3.BlendOpAlpha == BLEND_OPERATION_SUBTRACT); assert(RT3.RenderTargetWriteMask == (COLOR_MASK_BLUE | COLOR_MASK_ALPHA) ); + (void)RT3; } { -- cgit v1.2.3