mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-31 00:45:17 +08:00
Explicitly mark fallthrough
Silences a compiler warning (that is otherwise a good thing!)
This commit is contained in:
parent
7ebef0a396
commit
cf16d39872
@ -1124,6 +1124,7 @@ static wcstring escape_string_pcre2(const wcstring &in) {
|
||||
case L'-':
|
||||
case L']':
|
||||
out.push_back('\\');
|
||||
/* FALLTHROUGH */
|
||||
default:
|
||||
out.push_back(c);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user