mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
Fixed "unused variable" errors and trailing whitespace.
This commit is contained in:
parent
544ed0328c
commit
d4d1310c5c
@ -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| {
|
||||
|
Loading…
Reference in New Issue
Block a user