mirror of
https://github.com/Icinga/icinga2.git
synced 2026-02-13 15:54:15 -05:00
Fix a debug line being displayed in non-debug mode
This commit is contained in:
parent
c11f2d5ca2
commit
fd6cdbbc01
1 changed files with 2 additions and 1 deletions
|
|
@ -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 a new issue