diff options
author | Brian Paul <brianp@vmware.com> | 2011-11-14 08:35:03 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2011-11-14 08:37:48 -0700 |
commit | b7dd7e2fdc7a507fe0dd0c34e9fd45b015a7c4b0 (patch) | |
tree | d4858a77357211b6625416276e5416ed1d201398 /tests/glx | |
parent | bb5ed87b7ad873f305d5c3639f99d9cd694e5e72 (diff) |
glx-swap-pixmap-bad: add missing return statement, remove unused var
Diffstat (limited to 'tests/glx')
-rw-r--r-- | tests/glx/glx-swap-pixmap-bad.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/glx/glx-swap-pixmap-bad.c b/tests/glx/glx-swap-pixmap-bad.c index 24b9b667..614dd6f4 100644 --- a/tests/glx/glx-swap-pixmap-bad.c +++ b/tests/glx/glx-swap-pixmap-bad.c @@ -46,6 +46,7 @@ handler(Display *dpy, XErrorEvent *err) { if (piglit_glx_get_error(dpy, err) != GLXBadDrawable) pass = 0; + return 0; } int @@ -53,7 +54,6 @@ main(int argc, char **argv) { Pixmap p; GLXPixmap g; - float green[4] = {0.0, 1.0, 0.0, 0.0}; GLXContext ctx; dpy = XOpenDisplay(NULL); |