diff options
author | Brian Paul <brianp@vmware.com> | 2012-10-08 14:30:14 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2012-10-08 17:50:33 -0600 |
commit | 44ded9cc6f6c084e1bb4535092ea41b16be41493 (patch) | |
tree | 3f10e458f8a728e3e43a3d90f6dfd3440032be2f | |
parent | 525a6ddf1aa8bd1804a12921968b8afbdffb5e28 (diff) |
tests/fbo: remove unused err, error vars
-rw-r--r-- | tests/fbo/fbo-blit-d24s8.c | 1 | ||||
-rw-r--r-- | tests/fbo/fbo-drawbuffers-maxtargets.c | 2 | ||||
-rw-r--r-- | tests/fbo/fbo-getframebufferattachmentparameter-01.c | 1 | ||||
-rw-r--r-- | tests/fbo/fbo-incomplete-texture-01.c | 1 | ||||
-rw-r--r-- | tests/fbo/fbo-incomplete-texture-02.c | 1 | ||||
-rw-r--r-- | tests/fbo/fbo-incomplete-texture-03.c | 1 | ||||
-rw-r--r-- | tests/fbo/fbo-incomplete-texture-04.c | 1 | ||||
-rw-r--r-- | tests/fbo/fbo-scissor-bitmap.c | 1 |
8 files changed, 1 insertions, 8 deletions
diff --git a/tests/fbo/fbo-blit-d24s8.c b/tests/fbo/fbo-blit-d24s8.c index 732e1648d..eca28c304 100644 --- a/tests/fbo/fbo-blit-d24s8.c +++ b/tests/fbo/fbo-blit-d24s8.c @@ -155,7 +155,6 @@ run_test(void) int y0 = PAD; int y1 = PAD * 2 + SIZE; int y2 = PAD * 3 + SIZE * 2; - GLenum err; GLint win_depth_bits, fbo_depth_bits, win_stencil_bits, fbo_stencil_bits; glViewport(0, 0, piglit_width, piglit_height); diff --git a/tests/fbo/fbo-drawbuffers-maxtargets.c b/tests/fbo/fbo-drawbuffers-maxtargets.c index f4a57a6fe..c5b466a3c 100644 --- a/tests/fbo/fbo-drawbuffers-maxtargets.c +++ b/tests/fbo/fbo-drawbuffers-maxtargets.c @@ -83,7 +83,7 @@ static void generate_and_display_drawbuffers(int count) { GLuint tex[16], fb, fs, vs, prog; - GLenum attachments[16], status, error; + GLenum attachments[16], status; char *fs_count_source; int i; diff --git a/tests/fbo/fbo-getframebufferattachmentparameter-01.c b/tests/fbo/fbo-getframebufferattachmentparameter-01.c index db17e7752..fae60eaa9 100644 --- a/tests/fbo/fbo-getframebufferattachmentparameter-01.c +++ b/tests/fbo/fbo-getframebufferattachmentparameter-01.c @@ -80,7 +80,6 @@ piglit_init(int argc, char **argv) GLuint tex; GLuint fb; GLenum status; - GLenum err; piglit_ortho_projection(piglit_width, piglit_height, GL_FALSE); diff --git a/tests/fbo/fbo-incomplete-texture-01.c b/tests/fbo/fbo-incomplete-texture-01.c index 87a4ac2cc..1c7f19f91 100644 --- a/tests/fbo/fbo-incomplete-texture-01.c +++ b/tests/fbo/fbo-incomplete-texture-01.c @@ -52,7 +52,6 @@ piglit_init(int argc, char **argv) GLuint tex; GLuint fb; GLenum status; - GLenum err; const float color[] = {1.0,0.0,0.0,1.0}; piglit_ortho_projection(piglit_width, piglit_height, GL_FALSE); diff --git a/tests/fbo/fbo-incomplete-texture-02.c b/tests/fbo/fbo-incomplete-texture-02.c index c8123bfaa..7e41e76aa 100644 --- a/tests/fbo/fbo-incomplete-texture-02.c +++ b/tests/fbo/fbo-incomplete-texture-02.c @@ -52,7 +52,6 @@ piglit_init(int argc, char **argv) GLuint tex; GLuint fb; GLenum status; - GLenum err; const float color[] = {1.0,0.0,0.0,1.0}; piglit_ortho_projection(piglit_width, piglit_height, GL_FALSE); diff --git a/tests/fbo/fbo-incomplete-texture-03.c b/tests/fbo/fbo-incomplete-texture-03.c index 33f45059e..1d6552997 100644 --- a/tests/fbo/fbo-incomplete-texture-03.c +++ b/tests/fbo/fbo-incomplete-texture-03.c @@ -51,7 +51,6 @@ piglit_init(int argc, char **argv) GLuint tex; GLuint fb; GLenum status; - GLenum err; const float color[] = {1.0,0.0,0.0,1.0}; piglit_ortho_projection(piglit_width, piglit_height, GL_FALSE); diff --git a/tests/fbo/fbo-incomplete-texture-04.c b/tests/fbo/fbo-incomplete-texture-04.c index 418655f29..4657b143c 100644 --- a/tests/fbo/fbo-incomplete-texture-04.c +++ b/tests/fbo/fbo-incomplete-texture-04.c @@ -52,7 +52,6 @@ piglit_init(int argc, char **argv) GLuint tex; GLuint fb; GLenum status; - GLenum err; const float color[] = {1.0,0.0,0.0,1.0}; piglit_ortho_projection(piglit_width, piglit_height, GL_FALSE); diff --git a/tests/fbo/fbo-scissor-bitmap.c b/tests/fbo/fbo-scissor-bitmap.c index 97248b6ae..c0a5c153a 100644 --- a/tests/fbo/fbo-scissor-bitmap.c +++ b/tests/fbo/fbo-scissor-bitmap.c @@ -155,7 +155,6 @@ draw_and_test(const char *destination, int drawable_width, int drawable_height) int start_x, start_y; struct probes probes; GLboolean pass = GL_TRUE; - GLenum error; memset(&probes, 0, sizeof(probes)); |