Fix a debug line being displayed in non-debug mode

This commit is contained in:
Jean Flach 2015-01-13 09:41:53 +01:00
parent c11f2d5ca2
commit fd6cdbbc01
1 changed files with 2 additions and 1 deletions

View File

@ -306,7 +306,8 @@ int check_drives(vector<drive>& vDrives)
szVolumePathNames = reinterpret_cast<wchar_t*>(new WCHAR[dwVolumePathNamesLen]);
}
wcout << szVolumePathNames << L"\"" << endl;
if (debug)
wcout << szVolumePathNames << L"\"" << endl;
//.insert() does the dublicate checking
sDrives.insert(wstring(szVolumePathNames));