[6/8] msi: Remove unused variable.

Dmitry Timoshkov dmitry at baikal.ru
Mon Oct 28 03:28:20 CDT 2013


---
 dlls/msi/record.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/msi/record.c b/dlls/msi/record.c
index a44f42d..2950577 100644
--- a/dlls/msi/record.c
+++ b/dlls/msi/record.c
@@ -665,7 +665,7 @@ UINT WINAPI MsiRecordSetStringW( MSIHANDLE handle, UINT iField, LPCWSTR szValue
 /* read the data in a file into an IStream */
 static UINT RECORD_StreamFromFile(LPCWSTR szFile, IStream **pstm)
 {
-    DWORD sz, szHighWord = 0, read;
+    DWORD sz, szHighWord = 0;
     HANDLE handle;
     HGLOBAL hGlob = 0;
     HRESULT hr;
@@ -683,7 +683,7 @@ static UINT RECORD_StreamFromFile(LPCWSTR szFile, IStream **pstm)
         hGlob = GlobalAlloc(GMEM_FIXED, sz);
         if( hGlob )
         {
-            BOOL r = ReadFile(handle, hGlob, sz, &read, NULL);
+            BOOL r = ReadFile(handle, hGlob, sz, NULL, NULL);
             if( !r )
             {
                 GlobalFree(hGlob);
-- 
1.8.4.1




More information about the wine-patches mailing list