-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
aggregate-tally: Propagate errors while iterating
Previously emer_aggregate_tally_iter() and emer_aggregate_tally_iter_before() had no return value and would simply call g_warning() in the error case. This makes it hard to test the error paths without aborting the test program. Make each function return an error and move the g_warning() out into the calling functions. https://phabricator.endlessm.com/T35331
- Loading branch information
Showing
5 changed files
with
168 additions
and
109 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
Oops, something went wrong.