mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-11 05:31:14 -03:00
src/expand: update comment for fallthrough to GCC standard
As suggested in 75db3b4ff4 (r33153119)
This commit is contained in:
@@ -885,8 +885,9 @@ expand_result_t expander_t::stage_cmdsubst(wcstring input, std::vector<completio
|
||||
case 0:
|
||||
append_completion(out, std::move(input));
|
||||
break;
|
||||
case 1: /* fallthroughs intentional */
|
||||
case 1:
|
||||
append_cmdsub_error(errors, start, L"Command substitutions not allowed");
|
||||
/* intentionally falls through */
|
||||
case -1:
|
||||
default:
|
||||
return expand_result_t::error;
|
||||
|
||||
Reference in New Issue
Block a user