Fix another case where debug lines were displayed

This commit is contained in:
Jean Flach 2015-01-13 09:51:49 +01:00
parent fd6cdbbc01
commit 40cba8eb5d
2 changed files with 3 additions and 3 deletions

View File

@ -313,7 +313,7 @@ int check_drives(vector<drive>& vDrives)
sDrives.insert(wstring(szVolumePathNames));
FindNextVolume(hVolume, szVolumeName, MAX_PATH);
}
if (debug)
wcout << L"Creating vector from found volumes, removing cd drives etc.:" << endl;
for (set<wstring>::iterator it = sDrives.begin(); it != sDrives.end(); ++it) {
UINT type = GetDriveType(it->c_str());

View File

@ -256,7 +256,7 @@ int check_update(printInfoStruct& printInfo)
SysFreeString(criteria);
CoUninitialize();
return 0;
return -1;
die:
die(err);