mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Merge pull request #855 from tomilov/fix-werror
[linux][warnings] Fix -Werror=unused-but-set-variable on GCC 10.2, Linux
This commit is contained in:
commit
6021a83770
@ -4121,11 +4121,10 @@ std::string
|
||||
{
|
||||
assert( commandData.returnType == "VkResult" );
|
||||
|
||||
auto firstVectorParamIt = vectorParamIndices.begin();
|
||||
|
||||
assert( commandData.params[0].type.type == commandData.handle );
|
||||
|
||||
#if !defined( NDEBUG )
|
||||
auto firstVectorParamIt = vectorParamIndices.begin();
|
||||
auto secondVectorParamIt = std::next( firstVectorParamIt );
|
||||
assert( firstVectorParamIt->second == secondVectorParamIt->second );
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user