projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4e8918
)
progs/tests: Silence unused value warnings in sharedtex.c.
author
Vinson Lee
<vlee@vmware.com>
Fri, 20 Nov 2009 20:48:44 +0000
(12:48 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Fri, 20 Nov 2009 20:49:50 +0000
(12:49 -0800)
progs/tests/sharedtex.c
patch
|
blob
|
history
diff --git
a/progs/tests/sharedtex.c
b/progs/tests/sharedtex.c
index c07ebd719c7c1cce59efa91dfa17093d4cfba33c..2337b88d3ffe84868dafa844a435c698919c0a12 100644
(file)
--- 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);