mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-01-23 14:56:15 +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…
Reference in New Issue
Block a user