[Piglit] [PATCH] glean/texCombine: Remove unused variables.

Vinson Lee vlee at freedesktop.org
Wed Jul 16 17:38:47 PDT 2014


Fix clang unused-private-field warnings.

In file included from ttexcombine.cpp:75:
ttexcombine.h:133:28: warning: private field 'p_glActiveTextureARB' is not used [-Wunused-private-field]
        PFNGLACTIVETEXTUREARBPROC p_glActiveTextureARB;
                                  ^
ttexcombine.h:134:30: warning: private field 'p_glMultiTexCoord2fARB' is not used [-Wunused-private-field]
        PFNGLMULTITEXCOORD2FARBPROC p_glMultiTexCoord2fARB;
                                    ^

Signed-off-by: Vinson Lee <vlee at freedesktop.org>
---
 tests/glean/ttexcombine.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/tests/glean/ttexcombine.h b/tests/glean/ttexcombine.h
index 62ec618..24ec1f0 100644
--- a/tests/glean/ttexcombine.h
+++ b/tests/glean/ttexcombine.h
@@ -130,9 +130,6 @@ class TexCombineTest: public BasicTest {
 	int CountCrossbarCombinations() const;
 	bool RunCrossbarTest(glmachine &machine, BasicResult &r, Window &w);
 
-	PFNGLACTIVETEXTUREARBPROC p_glActiveTextureARB;
-	PFNGLMULTITEXCOORD2FARBPROC p_glMultiTexCoord2fARB;
-
 }; // class TexCombineTest
 
 } // namespace GLEAN
-- 
1.9.1



More information about the Piglit mailing list