Skip to content

Commit

Permalink
Fix logical-op-parentheses warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
a-andre authored and svigerske committed Jul 27, 2024
1 parent 768efac commit 6fa5d84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/CoinParamUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -670,8 +670,8 @@ void processFile(std::string &fileName, std::string dirName,
}
if (fileName[0] != '/' && fileName[0] != '\\' &&
!(fileName.length() >= 2 && fileName[1] == ':' &&
(fileName[0] >= 'a' && fileName[0] <= 'z' ||
fileName[0] >= 'A' && fileName[0] <= 'Z'))) {
((fileName[0] >= 'a' && fileName[0] <= 'z') ||
(fileName[0] >= 'A' && fileName[0] <= 'Z')))) {
fileName = dirName + fileName;
}
if (fileExists != NULL){
Expand Down

0 comments on commit 6fa5d84

Please sign in to comment.