msi: Only call MSI_RecordGetString() when needed (Coverity).

This commit is contained in:
Paul Vriens 2011-03-17 14:55:30 +01:00 committed by Alexandre Julliard
parent 23ae69332a
commit abdecfbe17
1 changed files with 1 additions and 1 deletions

View File

@ -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");