From 65b88200aae28dcd4b3e48672126bc7556d7bb49 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Fri, 19 Jan 2018 09:44:57 -0800 Subject: Fixed some clang compiler warnings --- Graphics/HLSL2GLSLConverterLib/src/HLSL2GLSLConverterImpl.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Graphics/HLSL2GLSLConverterLib') diff --git a/Graphics/HLSL2GLSLConverterLib/src/HLSL2GLSLConverterImpl.cpp b/Graphics/HLSL2GLSLConverterLib/src/HLSL2GLSLConverterImpl.cpp index cdb8084a..78bc255b 100644 --- a/Graphics/HLSL2GLSLConverterLib/src/HLSL2GLSLConverterImpl.cpp +++ b/Graphics/HLSL2GLSLConverterLib/src/HLSL2GLSLConverterImpl.cpp @@ -1425,7 +1425,6 @@ void HLSL2GLSLConverterImpl::ConversionStream::ProcessStructuredBuffer(TokenList Token->Literal = "layout(std140) buffer"; // buffer g_Data; // ^ - auto StructuredBftToken = Token; ++Token; // buffer g_Data; @@ -3590,7 +3589,7 @@ void HLSL2GLSLConverterImpl::ConversionStream::ProcessHullShaderArguments( Token if (ConstFuncIt == Attributes.end()) LOG_ERROR_AND_THROW( "Hull shader patch constant function is not specified. Use \"patchconstantfunc\" attribute" ); - auto MaxTessFactorIt = Attributes.find("maxtessfactor"); + //auto MaxTessFactorIt = Attributes.find("maxtessfactor"); auto NumControlPointsIt = Attributes.find("outputcontrolpoints"); if(NumControlPointsIt == Attributes.end()) LOG_ERROR_AND_THROW( "Number of output control points is not specified. Use \"outputcontrolpoints\" attribute" ); @@ -4144,7 +4143,6 @@ void HLSL2GLSLConverterImpl::ConversionStream::RemoveSemanticsFromBlock(TokenLis // ^ if( tkn->Type == TokenType::Identifier ) { - auto SemanticToken = tkn; ++tkn; // float4 Pos : POSITION; // ^ -- cgit v1.2.3