Description
CID 1401260
Right now the nested If(Level) will fail for Level = 0 letting unset the dwErrorCode.
Substitute these nested ifs with a switch case which cleans the logic and also handles the "0" case setting it to ERROR_INVALID_LEVEL.
CID 1401260
Right now the nested If(Level) will fail for Level = 0 letting unset the dwErrorCode.
Substitute these nested ifs with a switch case which cleans the logic and also handles the "0" case setting it to ERROR_INVALID_LEVEL.