mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-30 14:53:11 +00: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
1 changed files with 1 additions and 0 deletions
|
@ -27,6 +27,7 @@ int redirection_spec_t::oflags() const {
|
||||||
case redirection_mode_t::input:
|
case redirection_mode_t::input:
|
||||||
return O_RDONLY;
|
return O_RDONLY;
|
||||||
case redirection_mode_t::fd:
|
case redirection_mode_t::fd:
|
||||||
|
default:
|
||||||
DIE("Not a file redirection");
|
DIE("Not a file redirection");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue