mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 11:47:04 +08:00
redirection: add a default to redirection_spec_t::oflags switch
Fixes a compiler warning/error.
This commit is contained in:
parent
9be77d1f9c
commit
58535408b0
|
@ -27,6 +27,7 @@ int redirection_spec_t::oflags() const {
|
|||
case redirection_mode_t::input:
|
||||
return O_RDONLY;
|
||||
case redirection_mode_t::fd:
|
||||
default:
|
||||
DIE("Not a file redirection");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user