Closed Tomin1 closed 6 months ago
Previously this always returned 1. Drop the first comparison so status can be negative and errors will return 0.
This was found as a result of static code analysis. However the wrong return value doesn't cause any bug as it is not used anywhere in the code.
Previously this always returned 1. Drop the first comparison so status can be negative and errors will return 0.
This was found as a result of static code analysis. However the wrong return value doesn't cause any bug as it is not used anywhere in the code.