summaryrefslogtreecommitdiff
path: root/magies.c
diff options
context:
space:
mode:
authorOlivier Gayot <duskcoder@gmail.com>2015-01-07 13:13:30 +0100
committerOlivier Gayot <duskcoder@gmail.com>2015-01-07 13:13:30 +0100
commit5c2dcb40e40a789b1bf2a3b19429acd23c7674b1 (patch)
treea529ac0457317a92b202ff233752a134d7120880 /magies.c
parentc538eeef891e08d81ec6adf7fb3aea57a3b81393 (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 'magies.c')
-rw-r--r--magies.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/magies.c b/magies.c
index 8d0460d..93a4813 100644
--- a/magies.c
+++ b/magies.c
@@ -117,6 +117,8 @@ int Fmagieelement (SURFACES *surfaces,POSITIONS *positions,PERSONNAGES persos[],
Fblitcoloredselection(surfaces,positions,*Vtourallie,persos);
}
break;
+ default:
+ break;
}
break;
}
@@ -229,6 +231,8 @@ int Fmagiesoin(SURFACES *surfaces,POSITIONS *positions,PERSONNAGES persos[],int
}
continuer=0;
break;
+ default:
+ break;
}
break;
}