Michael Stefaniuc : msxml3: Avoid shadowing a function parameter.

Alexandre Julliard julliard at winehq.org
Tue Sep 3 13:38:04 CDT 2013


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

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Tue Sep  3 09:50:00 2013 +0200

msxml3: Avoid shadowing a function parameter.

---

 dlls/msxml3/saxreader.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/dlls/msxml3/saxreader.c b/dlls/msxml3/saxreader.c
index 9362941..2f632ef 100644
--- a/dlls/msxml3/saxreader.c
+++ b/dlls/msxml3/saxreader.c
@@ -2817,13 +2817,13 @@ static ULONG WINAPI saxxmlreader_Release(
 
         for (i = 0; i < SAXHandler_Last; i++)
         {
-            struct saxanyhandler_iface *iface = &This->saxhandlers[i].u.anyhandler;
+            struct saxanyhandler_iface *saxiface = &This->saxhandlers[i].u.anyhandler;
 
-            if (iface->handler)
-                IUnknown_Release(iface->handler);
+            if (saxiface->handler)
+                IUnknown_Release(saxiface->handler);
 
-            if (iface->vbhandler)
-                IUnknown_Release(iface->vbhandler);
+            if (saxiface->vbhandler)
+                IUnknown_Release(saxiface->vbhandler);
         }
 
         SysFreeString(This->xmldecl_version);




More information about the wine-cvs mailing list