Marcus Meissner : ntdll: Avoid shadowing "p" variable.

Alexandre Julliard julliard at winehq.org
Thu Oct 20 14:25:10 CDT 2011


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

Author: Marcus Meissner <meissner at suse.de>
Date:   Thu Oct 20 02:02:38 2011 +0200

ntdll: Avoid shadowing "p" variable.

---

 dlls/ntdll/relay.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/ntdll/relay.c b/dlls/ntdll/relay.c
index 3bf7791..23e6675 100644
--- a/dlls/ntdll/relay.c
+++ b/dlls/ntdll/relay.c
@@ -119,15 +119,15 @@ static const WCHAR **build_list( const WCHAR *buffer )
                                 (count+1) * sizeof(WCHAR*) + (strlenW(buffer)+1) * sizeof(WCHAR) )))
     {
         WCHAR *str = (WCHAR *)(ret + count + 1);
-        WCHAR *p = str;
+        WCHAR *q = str;
 
         strcpyW( str, buffer );
         count = 0;
         for (;;)
         {
-            ret[count++] = p;
-            if (!(p = strchrW( p, ';' ))) break;
-            *p++ = 0;
+            ret[count++] = q;
+            if (!(q = strchrW( q, ';' ))) break;
+            *q++ = 0;
         }
         ret[count++] = NULL;
     }




More information about the wine-cvs mailing list