mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 21:55:03 +02:00
Fix a debug line being displayed in non-debug mode
This commit is contained in:
parent
c11f2d5ca2
commit
fd6cdbbc01
@ -306,7 +306,8 @@ int check_drives(vector<drive>& vDrives)
|
|||||||
szVolumePathNames = reinterpret_cast<wchar_t*>(new WCHAR[dwVolumePathNamesLen]);
|
szVolumePathNames = reinterpret_cast<wchar_t*>(new WCHAR[dwVolumePathNamesLen]);
|
||||||
|
|
||||||
}
|
}
|
||||||
wcout << szVolumePathNames << L"\"" << endl;
|
if (debug)
|
||||||
|
wcout << szVolumePathNames << L"\"" << endl;
|
||||||
|
|
||||||
//.insert() does the dublicate checking
|
//.insert() does the dublicate checking
|
||||||
sDrives.insert(wstring(szVolumePathNames));
|
sDrives.insert(wstring(szVolumePathNames));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user