projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af4e4a7
)
t_dd_dmatmp.h: Silence unused value warnings in render_line_loop_elts.
author
Vinson Lee
<vlee@vmware.com>
Sun, 13 Dec 2009 00:18:08 +0000
(16:18 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Sun, 13 Dec 2009 00:18:08 +0000
(16:18 -0800)
src/mesa/tnl_dd/t_dd_dmatmp.h
patch
|
blob
|
history
diff --git
a/src/mesa/tnl_dd/t_dd_dmatmp.h
b/src/mesa/tnl_dd/t_dd_dmatmp.h
index 28771004b880f79a8aae725810d9434e875d85dd..7182978a1710ac72da0e0651abe9d3c57235897c 100644
(file)
--- a/
src/mesa/tnl_dd/t_dd_dmatmp.h
+++ b/
src/mesa/tnl_dd/t_dd_dmatmp.h
@@
-825,6
+825,7
@@
static void TAG(render_line_loop_elts)( GLcontext *ctx,
tmp = ALLOC_ELTS(nr+1);
tmp = TAG(emit_elts)( ctx, elts+j, nr, tmp );
tmp = TAG(emit_elts)( ctx, elts+start, 1, tmp );
+ (void) tmp;
}
else {
TAG(emit_elts)( ctx, elts+j, nr, ALLOC_ELTS(nr) );
@@
-838,6
+839,7
@@
static void TAG(render_line_loop_elts)( GLcontext *ctx,
tmp = ALLOC_ELTS(2);
tmp = TAG(emit_elts)( ctx, elts+start+1, 1, tmp );
tmp = TAG(emit_elts)( ctx, elts+start, 1, tmp );
+ (void) tmp;
}
FLUSH();