Skip to content

Commit d4d1310

Browse files
committed
Fixed "unused variable" errors and trailing whitespace.
1 parent 544ed03 commit d4d1310

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc/back/manifest.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ use driver::session::Session;
1919
use std::path::Path;
2020

2121
#[cfg(not(windows))]
22-
pub fn postprocess_executable(sess: Session, filename: &Path) {}
22+
pub fn postprocess_executable(_sess: Session, _filename: &Path) {}
2323

2424
#[cfg(windows)]
2525
pub fn postprocess_executable(sess: Session, filename: &Path) {
@@ -76,7 +76,7 @@ mod windows {
7676
unsafe{ transmute(id) }
7777
}
7878

79-
pub fn embed_manifest(filename: &Path,
79+
pub fn embed_manifest(filename: &Path,
8080
manifest: &str) -> Result<(),~str> {
8181
unsafe {
8282
let hUpdate = as_utf16_p(filename.as_str().unwrap(), |path| {

0 commit comments

Comments
 (0)