André Hentschel : wined3d: Remove dead code (clang).

Alexandre Julliard julliard at winehq.org
Mon Jul 4 13:46:07 CDT 2011


Module: wine
Branch: master
Commit: a7c1b5f02ec48769b4f4334c67deb13635e4986a
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a7c1b5f02ec48769b4f4334c67deb13635e4986a

Author: André Hentschel <nerv at dawncrow.de>
Date:   Sun Jul  3 21:06:07 2011 +0200

wined3d: Remove dead code (clang).

---

 dlls/wined3d/arb_program_shader.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/dlls/wined3d/arb_program_shader.c b/dlls/wined3d/arb_program_shader.c
index e533018..0823c03 100644
--- a/dlls/wined3d/arb_program_shader.c
+++ b/dlls/wined3d/arb_program_shader.c
@@ -3777,8 +3777,6 @@ static GLuint shader_arb_generate_pshader(struct wined3d_shader *shader,
             shader_addline(buffer, "PARAM np2fixup[%u] = { program.env[%u..%u] };\n",
                            fixup->super.num_consts, fixup->offset, fixup->super.num_consts + fixup->offset - 1);
         }
-
-        next_local += fixup->super.num_consts;
     }
 
     if (shader_priv->clipplane_emulation != ~0U && args->clip)




More information about the wine-cvs mailing list