Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cppcheck: Fix "non-boolean returned from bool function" warnings.
I compared the before/after versions of one of these functions. Both versions compile to exactly the same set if assembly instructions. This is true when compiling with the optimizer, and when compiling without the optimizer.
- Loading branch information
1 parent
3e57db9
commit 202280e
Showing
4 changed files
with
28 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters