diff --git a/src/reader.cpp b/src/reader.cpp index 934fc09da..0359d948f 100644 --- a/src/reader.cpp +++ b/src/reader.cpp @@ -2322,7 +2322,7 @@ static eval_res_t reader_run_command(parser_t &parser, const wcstring &cmd) { return eval_res; } -static parser_test_error_bits_t reader_shell_test(parser_t &parser, const wcstring &b) { +static parser_test_error_bits_t reader_shell_test(const parser_t &parser, const wcstring &b) { wcstring bstr = b; // Append a newline, to act as a statement terminator.