On Fri, 2010-01-08 at 21:44 -0800, Vinson Lee wrote:
> Module: Mesa
> Branch: mesa_7_7_branch
> Commit: 4775723d2f641dcd82e8c9cd39ba52f8d86158c7
> URL:
> http://cgit.freedesktop.org/mesa/mesa/commit/?id=4775723d2f641dcd82e8c9cd39ba52f8d86158c7
>
> Author: Vinson Lee <[email protected]>
> Date: Fri Jan 8 21:43:54 2010 -0800
>
> r300g: Silence unused variable warnings.
[...]
> diff --git a/src/gallium/drivers/r300/r300_state_derived.c
> b/src/gallium/drivers/r300/r300_state_derived.c
> index 7166694..55430a9 100644
> --- a/src/gallium/drivers/r300/r300_state_derived.c
> +++ b/src/gallium/drivers/r300/r300_state_derived.c
> @@ -464,7 +464,7 @@ static void r300_update_rs_block(struct r300_context*
> r300,
> /* Update the vertex format. */
> static void r300_update_derived_shader_state(struct r300_context* r300)
> {
> - struct r300_screen* r300screen = r300_screen(r300->context.screen);
> + /* struct r300_screen* r300screen = r300_screen(r300->context.screen); */
> struct r300_vertex_info* vformat;
> struct r300_rs_block* rs_block;
> int i;
Please just remove unused variables rather than leaving them there
commented out.
--
Earthling Michel Dänzer | http://www.vmware.com
Libre software enthusiast | Debian, X and DRI developer
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev