]> git.lizzy.rs Git - rust.git/commitdiff
Fixed "unused variable" errors and trailing whitespace.
authorVadim Chugunov <vadimcn@gmail.com>
Thu, 12 Dec 2013 02:05:02 +0000 (18:05 -0800)
committerVadim Chugunov <vadimcn@gmail.com>
Thu, 12 Dec 2013 07:44:25 +0000 (23:44 -0800)
src/librustc/back/manifest.rs

index 8f370ab50572e12070e375fa7d739f9d175de385..1b39935800bab53c5c139fab531fda080d2960d6 100644 (file)
@@ -19,7 +19,7 @@
 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 @@ fn MAKEINTRESOURCEW(id: int) -> LPCWSTR {
         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| {