mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-01-20 01:32:53 +08:00
Fix switch
nesting in handler_matches
I guess this worked, but whoops.
This commit is contained in:
parent
b7c069a765
commit
2e4948e1f4
|
@ -120,8 +120,8 @@ static bool handler_matches(const event_handler_t &classv, const event_t &instan
|
|||
case event_type_t::generic: {
|
||||
return classv.desc.str_param1 == instance.desc.str_param1;
|
||||
}
|
||||
case event_type_t::any: {
|
||||
default:
|
||||
case event_type_t::any:
|
||||
default: {
|
||||
DIE("unexpected classv.type");
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user