aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authortslil clingman <tslil@posteo.de>2021-01-19 20:55:29 -0500
committertslil <tslil@posteo.de>2021-01-19 20:55:29 -0500
commit61c8a37d33e36957e32e1b4dc5b521f9ba060494 (patch)
tree70543a97879f44aefec1997ee4cc31797eaf3e2e /include
parent6a070bed0c8ce87590ee4bdd829f546a6657f282 (diff)
Compiler warning
Diffstat (limited to 'include')
-rw-r--r--include/ct1986.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/ct1986.c b/include/ct1986.c
index ec73f7c..24c9c64 100644
--- a/include/ct1986.c
+++ b/include/ct1986.c
@@ -241,7 +241,8 @@ ct1986_minimax(const uint8_t cur_depth, const uint8_t max_depth,
upper = (col > count) ? count : col;
break;
}
- case M_RIGHT: {
+ case M_RIGHT: // fall through
+ default: {
upper = (4-col > count) ? count : 4-col;
break;
}