This avoids a wanring from gcc about a function possibly not returning
a value.
return -1;
if (card_one->number == card_two->number)
return 0;
return -1;
if (card_one->number == card_two->number)
return 0;
- if (card_one->number > card_two->number)
- return 1;
+ /* At this point, we know that this must be true:
+ * if (card_one->number > card_two->number)
+ */
+ return 1;
}
static int card_group_is_run(card_group_t *card_group)
}
static int card_group_is_run(card_group_t *card_group)