mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-26 23:24:09 +02:00
Remove redundant check
This commit is contained in:
parent
09038eeb7c
commit
daaa446f58
@ -274,7 +274,7 @@ int check_drives(vector<drive>& vDrives)
|
|||||||
wcout << L"Getting logic drive string (includes network drives)" << endl;
|
wcout << L"Getting logic drive string (includes network drives)" << endl;
|
||||||
|
|
||||||
dwResult = GetLogicalDriveStrings(MAX_PATH, szLogicalDrives);
|
dwResult = GetLogicalDriveStrings(MAX_PATH, szLogicalDrives);
|
||||||
if (dwResult < 0 || dwResult > MAX_PATH)
|
if (dwResult > MAX_PATH)
|
||||||
goto die;
|
goto die;
|
||||||
if (debug)
|
if (debug)
|
||||||
wcout << L"Splitting string into single drive names" << endl;
|
wcout << L"Splitting string into single drive names" << endl;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user