mirror of https://github.com/Icinga/icinga2.git
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]);
|
||||
|
||||
}
|
||||
wcout << szVolumePathNames << L"\"" << endl;
|
||||
if (debug)
|
||||
wcout << szVolumePathNames << L"\"" << endl;
|
||||
|
||||
//.insert() does the dublicate checking
|
||||
sDrives.insert(wstring(szVolumePathNames));
|
||||
|
|
Loading…
Reference in New Issue