wasi-common: fix some warnings

This commit is contained in:
Pat Hickey
2020-08-18 10:45:42 -07:00
parent 8d39d9b1b5
commit 0e1c534e07

View File

@@ -345,10 +345,10 @@ impl Handle for InMemoryFile {
fn openat(
&self,
path: &str,
read: bool,
write: bool,
_read: bool,
_write: bool,
oflags: types::Oflags,
fd_flags: types::Fdflags,
_fd_flags: types::Fdflags,
) -> Result<Box<dyn Handle>> {
if oflags.contains(&types::Oflags::DIRECTORY) {
tracing::trace!(
@@ -633,8 +633,8 @@ impl Handle for VirtualDir {
fn openat(
&self,
path: &str,
read: bool,
write: bool,
_read: bool,
_write: bool,
oflags: types::Oflags,
fd_flags: types::Fdflags,
) -> Result<Box<dyn Handle>> {