Mike McCormack : msi: Remove an unused variable.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Oct 5 05:03:21 CDT 2006


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

Author: Mike McCormack <mike at codeweavers.com>
Date:   Thu Oct  5 17:00:21 2006 +0900

msi: Remove an unused variable.

---

 dlls/msi/table.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/dlls/msi/table.c b/dlls/msi/table.c
index 455e362..6362f13 100644
--- a/dlls/msi/table.c
+++ b/dlls/msi/table.c
@@ -1950,7 +1950,7 @@ UINT msi_table_apply_transform( MSIDATAB
     IEnumSTATSTG *stgenum = NULL;
     HRESULT r;
     STATSTG stat;
-    ULONG n, count;
+    ULONG count;
     WCHAR name[0x40];
     string_table *strings;
     UINT ret = ERROR_FUNCTION_FAILED;
@@ -1965,7 +1965,6 @@ UINT msi_table_apply_transform( MSIDATAB
     if( FAILED( r ) )
         goto end;
 
-    n = 0;
     ret = ERROR_SUCCESS;
 
     while( r == ERROR_SUCCESS )
@@ -1979,7 +1978,6 @@ UINT msi_table_apply_transform( MSIDATAB
             ret = msi_table_load_transform( db, stg, strings, name+1 );
         else
             TRACE("transform contains stream %s\n", debugstr_w(name));
-        n++;
     }
 
     if ( ret == ERROR_SUCCESS )




More information about the wine-cvs mailing list