projects
/
platform
/
upstream
/
VK-GL-CTS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b459c99
)
Fix unused variable warning in Release builds.
author
Jarkko Pöyry
<jpoyry@google.com>
Tue, 28 Apr 2015 21:03:29 +0000
(14:03 -0700)
committer
Jarkko Pöyry
<jpoyry@google.com>
Tue, 28 Apr 2015 21:03:29 +0000
(14:03 -0700)
Change-Id: I7aabc6fdad54f22e072c716a7098678d845e98fe
framework/common/tcuTextureUtil.cpp
patch
|
blob
|
history
diff --git
a/framework/common/tcuTextureUtil.cpp
b/framework/common/tcuTextureUtil.cpp
index 7df2c316af9d6d7b028955571d4dfbb3fb6c356c..df7c20c94a23711613d94d4f02285c8445f7242f 100644
(file)
--- a/
framework/common/tcuTextureUtil.cpp
+++ b/
framework/common/tcuTextureUtil.cpp
@@
-1361,6
+1361,7
@@
static tcu::IVec4 getTextureBorderColorInt (const TextureFormat& format, const S
IVec4 result;
DE_ASSERT(channelClass == tcu::TEXTURECHANNELCLASS_SIGNED_INTEGER);
+ DE_UNREF(channelClass);
for (int c = 0; c < 4; c++)
{
@@
-1388,6
+1389,7
@@
static tcu::UVec4 getTextureBorderColorUint (const TextureFormat& format, const
UVec4 result;
DE_ASSERT(channelClass == tcu::TEXTURECHANNELCLASS_UNSIGNED_INTEGER);
+ DE_UNREF(channelClass);
for (int c = 0; c < 4; c++)
{