diff options
author | Olivier Gayot <duskcoder@gmail.com> | 2015-01-07 13:13:30 +0100 |
---|---|---|
committer | Olivier Gayot <duskcoder@gmail.com> | 2015-01-07 13:13:30 +0100 |
commit | 5c2dcb40e40a789b1bf2a3b19429acd23c7674b1 (patch) | |
tree | a529ac0457317a92b202ff233752a134d7120880 /menuprincipal.c | |
parent | c538eeef891e08d81ec6adf7fb3aea57a3b81393 (diff) |
handle default cases in switches
since gcc produces warnings when default cases are not handled, make it
happy.
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'menuprincipal.c')
-rw-r--r-- | menuprincipal.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/menuprincipal.c b/menuprincipal.c index 64ada29..51d4732 100644 --- a/menuprincipal.c +++ b/menuprincipal.c @@ -57,6 +57,8 @@ void Fmenuprincipal (SURFACES *surfaces, POSITIONS *positions) SDL_Flip (surfaces->Pecran); } break; + default: + break; } break; } |