mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-11 19:31:15 -03:00
remove unreachable break statements
Found with clang's -Wunreachable-code-break Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
committed by
ridiculousfish
parent
6ab2da0e25
commit
d9ad5a2627
@@ -869,7 +869,6 @@ end_execution_reason_t parse_execution_context_t::expand_arguments_from_nodes(
|
||||
}
|
||||
default: {
|
||||
DIE("unexpected expand_string() return value");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1009,7 +1008,6 @@ end_execution_reason_t parse_execution_context_t::apply_variable_assignments(
|
||||
|
||||
default: {
|
||||
DIE("unexpected expand_string() return value");
|
||||
break;
|
||||
}
|
||||
}
|
||||
wcstring_list_t vals;
|
||||
|
||||
Reference in New Issue
Block a user