mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
Remove an unused variable from expand_cmdsubst
This commit is contained in:
parent
137c2559d9
commit
9444c65ee8
1 changed files with 1 additions and 2 deletions
|
@ -1028,8 +1028,7 @@ static bool expand_cmdsubst(const wcstring &input, std::vector<completion_t> *ou
|
|||
|
||||
const wchar_t *const in = input.c_str();
|
||||
|
||||
int parse_ret;
|
||||
switch (parse_ret = parse_util_locate_cmdsubst(in, &paren_begin, &paren_end, false)) {
|
||||
switch (parse_util_locate_cmdsubst(in, &paren_begin, &paren_end, false)) {
|
||||
case -1: {
|
||||
append_syntax_error(errors, SOURCE_LOCATION_UNKNOWN, L"Mismatched parenthesis");
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue