summaryrefslogtreecommitdiff
path: root/02.c
diff options
context:
space:
mode:
Diffstat (limited to '02.c')
-rw-r--r--02.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/02.c b/02.c
index 8ca0423..bf636a4 100644
--- a/02.c
+++ b/02.c
@@ -104,6 +104,8 @@ int compute_round_score_p2(struct round_p2* round) {
else
me = (enum draw) ((int) opponent + 1);
break;
+ default:
+ err(2, "unknown result type");
}
return (int) me + (int) result;
}