[Piglit] [PATCH] glean/texCombine: Remove unused variables.
Brian Paul
brianp at vmware.com
Thu Jul 17 05:21:38 PDT 2014
On 07/16/2014 06:38 PM, Vinson Lee wrote:
> 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
>
Reviewed-by: Brian Paul <brianp at vmware.com>
More information about the Piglit
mailing list