diff options
Diffstat (limited to 'FICS/playerdb.c')
| -rw-r--r-- | FICS/playerdb.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/FICS/playerdb.c b/FICS/playerdb.c index cffd5b0..35c9f16 100644 --- a/FICS/playerdb.c +++ b/FICS/playerdb.c @@ -2269,6 +2269,9 @@ player_decline_offers(int p, int p1, int offerType) pprintf(p, "You decline the partnership request from " "%s.\n", p2Name); break; + default: + warnx("%s: invalid type %d", __func__, type); + break; } /* switch */ player_remove_request(p2, p, type); @@ -2389,6 +2392,9 @@ player_withdraw_offers(int p, int p1, int offerType) pprintf(p, "You withdraw the partnership request to %s." "\n", p2Name); break; + default: + warnx("%s: invalid type %d", __func__, type); + break; } /* switch */ player_remove_request(p, p2, type); |
