mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 17:27:18 +00:00
msi: Only call MSI_RecordGetString() when needed (Coverity).
This commit is contained in:
parent
23ae69332a
commit
abdecfbe17
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue