mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-30 14:53:11 +00:00
src/expand: update comment for fallthrough to GCC standard
As suggested in 75db3b4ff4 (r33153119)
This commit is contained in:
parent
b5cf9e52ca
commit
7fe93c7518
1 changed files with 2 additions and 1 deletions
|
@ -885,8 +885,9 @@ expand_result_t expander_t::stage_cmdsubst(wcstring input, std::vector<completio
|
||||||
case 0:
|
case 0:
|
||||||
append_completion(out, std::move(input));
|
append_completion(out, std::move(input));
|
||||||
break;
|
break;
|
||||||
case 1: /* fallthroughs intentional */
|
case 1:
|
||||||
append_cmdsub_error(errors, start, L"Command substitutions not allowed");
|
append_cmdsub_error(errors, start, L"Command substitutions not allowed");
|
||||||
|
/* intentionally falls through */
|
||||||
case -1:
|
case -1:
|
||||||
default:
|
default:
|
||||||
return expand_result_t::error;
|
return expand_result_t::error;
|
||||||
|
|
Loading…
Reference in a new issue