More nuanced.

This commit is contained in:
Neil 2023-04-07 03:54:38 -07:00
parent bdb9e171d1
commit 7e8983ef66
1 changed files with 5 additions and 0 deletions

View File

@ -199,7 +199,12 @@ int scores_is_empty(const struct scores *const s)
int main(void) {
struct journal j = journal();
if(journal_is_empty(&j)) goto catch;
struct scores s = scores(&j);
if(scores_is_empty(&s)) goto catch;
goto finally;
catch:
scores_(&s);
finally:
return EXIT_SUCCESS;
}