]> git.lizzy.rs Git - rust.git/commitdiff
Avoid error for unused variables
authorBryan Drewery <bryan@shatow.net>
Tue, 27 Feb 2018 01:33:44 +0000 (17:33 -0800)
committerBryan Drewery <bryan@shatow.net>
Wed, 28 Feb 2018 23:36:31 +0000 (15:36 -0800)
src/libstd/sys/unix/process/process_unix.rs

index d66c2375140c09b013ee1163f3b8c88cec9bec14..05b4b9b085b4b4ac3ef98ab1608545714916b5da 100644 (file)
@@ -237,7 +237,7 @@ macro_rules! t {
     }
 
     #[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)