From d930dc2cbec04b44efc06adcfe70fea395fa17d5 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 30 Apr 2009 14:17:37 -0700 Subject: Warnings cleanup, resulting in a number of actual bugfixes. --- tests/bugs/fdo10370.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'tests/bugs/fdo10370.c') diff --git a/tests/bugs/fdo10370.c b/tests/bugs/fdo10370.c index caee31c4..08788d85 100644 --- a/tests/bugs/fdo10370.c +++ b/tests/bugs/fdo10370.c @@ -31,8 +31,6 @@ static GLuint tex_name; void init() { - int i, j; - glMatrixMode(GL_PROJECTION); glLoadIdentity(); glTranslatef(-1.0, -1.0, 0.0); @@ -66,7 +64,6 @@ void init() void display() { int i, j, k, col, pixel; - GLubyte zero_data = 0; GLfloat expected[4]; float dmax = 0.0; @@ -179,4 +176,6 @@ int main(int argc, char**argv) init(); glutDisplayFunc(display); glutMainLoop(); + + return 0; } -- cgit v1.2.3