summaryrefslogtreecommitdiff
path: root/tests/bugs/fdo10370.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-04-30 14:17:37 -0700
committerEric Anholt <eric@anholt.net>2009-04-30 14:36:29 -0700
commitd930dc2cbec04b44efc06adcfe70fea395fa17d5 (patch)
treea4b41fdfc4e01dffd90c12104f0c2f1d714efdc6 /tests/bugs/fdo10370.c
parentaec22b40b5957c509d7e3267a67aa52e963516cf (diff)
Warnings cleanup, resulting in a number of actual bugfixes.
Diffstat (limited to 'tests/bugs/fdo10370.c')
-rw-r--r--tests/bugs/fdo10370.c5
1 files changed, 2 insertions, 3 deletions
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;
}