summaryrefslogtreecommitdiff
path: root/src/uci/response.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/uci/response.c')
-rw-r--r--src/uci/response.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uci/response.c b/src/uci/response.c
index da46cb7..ff89f8d 100644
--- a/src/uci/response.c
+++ b/src/uci/response.c
@@ -78,7 +78,7 @@ void handle_idle(uci_state_t *state, uci_cmd_t cmd) {
return;
}
state->position = fen.position;
- } else { assert(0); }
+ } else { assert(0 && "Invalid argument for position command"); }
if (cmd.args_count >= k) return;
assert(strcmp(uci_cmd_get_arg(cmd, k++), "moves") == 0);