From 0e1c534e071e4b27063d580700a978840235c5c1 Mon Sep 17 00:00:00 2001 From: Pat Hickey Date: Tue, 18 Aug 2020 10:45:42 -0700 Subject: [PATCH] wasi-common: fix some warnings --- crates/wasi-common/src/virtfs.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/crates/wasi-common/src/virtfs.rs b/crates/wasi-common/src/virtfs.rs index 2b4cd6649f..9e543a3d24 100644 --- a/crates/wasi-common/src/virtfs.rs +++ b/crates/wasi-common/src/virtfs.rs @@ -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> { 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> {