[PATCH 2/2] Only call MSI_RecordGetString() when needed (Coverity)
Paul Vriens
Paul.Vriens.Wine at gmail.com
Thu Mar 17 08:55:30 CDT 2011
---
dlls/msi/table.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/msi/table.c b/dlls/msi/table.c
index 80fe3ee..14f4d30 100644
--- a/dlls/msi/table.c
+++ b/dlls/msi/table.c
@@ -2595,7 +2595,7 @@ static void dump_record( MSIRECORD *rec )
n = MSI_RecordGetFieldCount( rec );
for( i=1; i<=n; i++ )
{
- LPCWSTR sval = MSI_RecordGetString( rec, i );
+ LPCWSTR sval;
if( MSI_RecordIsNull( rec, i ) )
TRACE("row -> []\n");
--
1.7.3.4
--------------080804040800010806050902--
More information about the wine-patches
mailing list