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:
Fabian Homborg
2017-07-04 23:50:01 +02:00
parent c8252e7e0b
commit bdee54bd10

View File

@@ -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;