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…
x
Reference in New Issue
Block a user