winebuild: Remove duplicate declaration of variable 'j'.

Michael Stefaniuc mstefani at redhat.de
Thu Dec 13 17:18:30 CST 2007


'j' is already a function wide "loop" variable.
This fixes the following sparse warning:
tools/winebuild/spec16.c:689:13: warning: symbol 'j' shadows an earlier one
---
 tools/winebuild/spec16.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/winebuild/spec16.c b/tools/winebuild/spec16.c
index 2b62721..dc86b1b 100644
--- a/tools/winebuild/spec16.c
+++ b/tools/winebuild/spec16.c
@@ -686,7 +686,7 @@ void BuildSpec16File( DLLSPEC *spec )
     for ( i = 0; i < nb_funcs; i++ )
     {
         unsigned int arg_types[2];
-        int j, nop_words, argsize = 0;
+        int nop_words, argsize = 0;
 
         if ( typelist[i]->type == TYPE_PASCAL )
             argsize = get_function_argsize( typelist[i] );
-- 
1.5.3.7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20071214/610c3505/attachment.pgp 


More information about the wine-patches mailing list