From d4d1310c5c5562592069d93683d558d6b8f87236 Mon Sep 17 00:00:00 2001 From: Vadim Chugunov Date: Wed, 11 Dec 2013 18:05:02 -0800 Subject: [PATCH] Fixed "unused variable" errors and trailing whitespace. --- src/librustc/back/manifest.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/librustc/back/manifest.rs b/src/librustc/back/manifest.rs index 8f370ab50572e..1b39935800bab 100644 --- a/src/librustc/back/manifest.rs +++ b/src/librustc/back/manifest.rs @@ -19,7 +19,7 @@ use driver::session::Session; use std::path::Path; #[cfg(not(windows))] -pub fn postprocess_executable(sess: Session, filename: &Path) {} +pub fn postprocess_executable(_sess: Session, _filename: &Path) {} #[cfg(windows)] pub fn postprocess_executable(sess: Session, filename: &Path) { @@ -76,7 +76,7 @@ mod windows { unsafe{ transmute(id) } } - pub fn embed_manifest(filename: &Path, + pub fn embed_manifest(filename: &Path, manifest: &str) -> Result<(),~str> { unsafe { let hUpdate = as_utf16_p(filename.as_str().unwrap(), |path| {