Distinguish variables with same names
...to resolve C4457 warnings.
This commit is contained in:
parent
1b917b2a50
commit
a872019eb4
@ -165,12 +165,12 @@ UINT MSICA_API MSICAInitialize(MSIHANDLE hInstall)
|
||||
// Execute query!
|
||||
uiResult = ::MsiViewExecute(hViewBinary, hRecord);
|
||||
if (uiResult == NO_ERROR) {
|
||||
PMSIHANDLE hRecord;
|
||||
PMSIHANDLE hRecordCert;
|
||||
|
||||
// Fetch one record from the view.
|
||||
uiResult = ::MsiViewFetch(hViewBinary, &hRecord);
|
||||
uiResult = ::MsiViewFetch(hViewBinary, &hRecordCert);
|
||||
if (uiResult == NO_ERROR)
|
||||
uiResult = ::MsiRecordReadStream(hRecord, 1, binCert);
|
||||
uiResult = ::MsiRecordReadStream(hRecordCert, 1, binCert);
|
||||
::MsiViewClose(hViewBinary);
|
||||
if (uiResult != NO_ERROR) break;
|
||||
} else
|
||||
|
Loading…
x
Reference in New Issue
Block a user