-
Notifications
You must be signed in to change notification settings - Fork 241
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib/, src/: Turn error counters into flags
If we are not interested in the amount of errors but only if errors exist, use a flag instead of a counter. This eliminates the chance of signed integer overflows and better reflects the meaning of variable. Keeping variable name and basically copied from src/faillog.c. Reviewed-by: Alejandro Colomar <[email protected]> Signed-off-by: Tobias Stoeckmann <[email protected]>
- Loading branch information
1 parent
6ef84cc
commit 3e4b3d3
Showing
8 changed files
with
99 additions
and
94 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
Oops, something went wrong.