diff options
| author | Aargh Rai <aargh.rai+git@gmail.com> | 2026-07-18 14:02:18 +0530 |
|---|---|---|
| committer | Aargh Rai <aargh.rai+git@gmail.com> | 2026-07-18 14:04:14 +0530 |
| commit | 9395e857db95481f6e2494d3a841632be0ff97c8 (patch) | |
| tree | dfaa6ab66ea5dd083c060a5dba0cf41ed9cb754c /src/uci/response.c | |
| parent | c34b4c1b036058b2906556850cc4ded6ececcf89 (diff) | |
fixed moved gen & adding messages on asserts
Diffstat (limited to 'src/uci/response.c')
| -rw-r--r-- | src/uci/response.c | 2 |
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); |
