mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 20:31:19 -03:00
expand_brackets: Always break
This shouldn't change anything (since we just end up printing an error later), but it silences a gcc warning.
This commit is contained in:
@@ -948,8 +948,8 @@ static expand_error_t expand_brackets(const wcstring &instr, expand_flags_t flag
|
||||
syntax_error = true;
|
||||
} else if (bracket_count == 0) {
|
||||
bracket_end = pos;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case BRACKET_SEP: {
|
||||
if (bracket_count == 1) last_sep = pos;
|
||||
|
||||
Reference in New Issue
Block a user