mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-30 03:01:15 -03:00
redirection: add a default to redirection_spec_t::oflags switch
Fixes a compiler warning/error.
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user