[Piglit] [PATCH] required-renderbuffer-attachment-formats: Remove unused variable.
Brian Paul
brianp at vmware.com
Wed Nov 30 06:13:05 PST 2011
On 11/29/2011 06:11 PM, Vinson Lee wrote:
> Fixes this GCC warning.
> required-renderbuffer-attachment-formats.c: In function ‘piglit_init’:
> required-renderbuffer-attachment-formats.c:51: warning: unused variable ‘c’
>
> Signed-off-by: Vinson Lee<vlee at vmware.com>
> ---
> .../required-renderbuffer-attachment-formats.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/tests/spec/gl-3.0/required-renderbuffer-attachment-formats.c b/tests/spec/gl-3.0/required-renderbuffer-attachment-formats.c
> index aec4192..c18e9d9 100644
> --- a/tests/spec/gl-3.0/required-renderbuffer-attachment-formats.c
> +++ b/tests/spec/gl-3.0/required-renderbuffer-attachment-formats.c
> @@ -48,7 +48,7 @@ piglit_init(int argc, char **argv)
> {
> bool pass = true;
> GLuint rb, fbo;
> - int i, c;
> + int i;
>
> if (!GLEW_VERSION_3_0) {
> printf("Requires GL 3.0\n");
Reviewed-by: Brian Paul <brianp at vmware.com>
More information about the Piglit
mailing list