Fix warnings reported by clang 13
authorRicardo Garcia <rgarcia@igalia.com>
Fri, 10 Dec 2021 13:54:01 +0000 (14:54 +0100)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Thu, 6 Jan 2022 22:40:47 +0000 (22:40 +0000)
commit99d3216b06659f07ee86236fecd8184c77ff95a1
tree66b919e3d9378022744ba3bca72dc517bedf0da1
parent472a3d5aa89989b677ee0b8e1398a1feecc57477
Fix warnings reported by clang 13

This commit fixes code that was producing warnings when built using
clang 13. They are mostly about unused variables and null pointer
substractions, but the new code should be semantically the same.

No test results should be affected by these changes.

Components: Framework, Vulkan, OpenGL
VK-GL-CTS issue: 3147

Change-Id: I0eb87c17270a610c8b29ec27ae8e10009053f8e1
external/openglcts/modules/gl/gl4cGPUShaderFP64Tests.cpp
external/vulkancts/modules/vulkan/shaderrender/vktShaderRenderBuiltinVarTests.cpp
external/vulkancts/modules/vulkan/synchronization/vktSynchronizationSignalOrderTests.cpp
external/vulkancts/modules/vulkan/util/vktDrawUtil.cpp
framework/opengl/simplereference/sglrReferenceContext.cpp
modules/glshared/glsDrawTest.cpp