Avoid error for unused variables

This commit is contained in:
Bryan Drewery
2018-02-26 17:33:44 -08:00
parent 11696acd6d
commit f4633865d3

View File

@@ -237,7 +237,7 @@ impl Command {
}
#[cfg(not(any(target_os = "linux", target_os = "macos")))]
fn posix_spawn(&mut self, stdio: &ChildPipes, envp: Option<&CStringArray>)
fn posix_spawn(&mut self, _stdio: &ChildPipes, _envp: Option<&CStringArray>)
-> io::Result<Option<Process>>
{
Ok(None)