More nuanced.
This commit is contained in:
parent
bdb9e171d1
commit
7e8983ef66
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user