Mesa (mesa_7_7_branch): progs/tests: Silence unused value warnings in sharedtex.c.
Vinson Lee
vlee at kemper.freedesktop.org
Fri Nov 20 20:50:26 UTC 2009
Module: Mesa
Branch: mesa_7_7_branch
Commit: 02c3e0b82da6877a7e170bb3fafd591bc2d76115
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=02c3e0b82da6877a7e170bb3fafd591bc2d76115
Author: Vinson Lee <vlee at vmware.com>
Date: Fri Nov 20 12:48:44 2009 -0800
progs/tests: Silence unused value warnings in sharedtex.c.
---
progs/tests/sharedtex.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/progs/tests/sharedtex.c b/progs/tests/sharedtex.c
index c07ebd7..2337b88 100644
--- a/progs/tests/sharedtex.c
+++ b/progs/tests/sharedtex.c
@@ -424,13 +424,13 @@ main(int argc, char *argv[])
{
const char *dpyName = XDisplayName(NULL);
- struct window *h0, *h1, *h2, *h3;
+ struct window *h0;
/* four windows and contexts sharing display lists and texture objects */
h0 = AddWindow(dpyName, 10, 10, NULL);
- h1 = AddWindow(dpyName, 330, 10, h0);
- h2 = AddWindow(dpyName, 10, 350, h0);
- h3 = AddWindow(dpyName, 330, 350, h0);
+ (void) AddWindow(dpyName, 330, 10, h0);
+ (void) AddWindow(dpyName, 10, 350, h0);
+ (void) AddWindow(dpyName, 330, 350, h0);
InitGLstuff(h0);
More information about the mesa-commit
mailing list