aboutsummaryrefslogtreecommitdiff
path: root/include/ct1986.c
diff options
context:
space:
mode:
authortslil clingman <tslil@posteo.de>2021-01-19 20:55:29 -0500
committertslil <tslil@posteo.de>2026-08-28 19:37:41 +0100
commit11174c695058e737519bf24b812dc5a7d64f35c1 (patch)
tree70543a97879f44aefec1997ee4cc31797eaf3e2e /include/ct1986.c
parentfa81af89f613987cfe52adb0e41b89379fc9cc0f (diff)
Compiler warning
Diffstat (limited to 'include/ct1986.c')
-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;
}