mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-26 02:13:38 +08:00
Fix gcc warnings harder
This commit is contained in:
parent
7ab373fbbd
commit
e52433d6fe
|
@ -211,10 +211,10 @@ completion_t::completion_t(wcstring comp, wcstring desc, string_fuzzy_match_t ma
|
|||
match(std::move(mat)),
|
||||
flags(resolve_auto_space(completion, flags_val)) {}
|
||||
|
||||
completion_t::completion_t(const completion_t &him) = default;
|
||||
completion_t::completion_t(completion_t &&him) = default;
|
||||
completion_t &completion_t::operator=(const completion_t &him) = default;
|
||||
completion_t &completion_t::operator=(completion_t &&him) = default;
|
||||
completion_t::completion_t(const completion_t &) = default;
|
||||
completion_t::completion_t(completion_t &&) = default;
|
||||
completion_t &completion_t::operator=(const completion_t &) = default;
|
||||
completion_t &completion_t::operator=(completion_t &&) = default;
|
||||
completion_t::~completion_t() = default;
|
||||
|
||||
bool completion_t::is_naturally_less_than(const completion_t &a, const completion_t &b) {
|
||||
|
|
|
@ -793,6 +793,7 @@ static proc_performer_t get_performer_for_process(process_t *p, const job_t *job
|
|||
case eval_result_t::cancelled:
|
||||
// TODO: we should reflect the actual signal which was received.
|
||||
return proc_status_t::from_signal(SIGINT);
|
||||
default:
|
||||
case eval_result_t::control_flow:
|
||||
DIE("eval_result_t::control_flow should not be returned from eval_node");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user