Removed the get_cause function since it is redundant.
This commit is contained in:
6
build.rs
6
build.rs
@ -117,7 +117,7 @@ fn build_src_file(filename: &str) -> PathBuf
|
||||
fn compile(src_files: &[PathBuf], output_name: &str) -> PathBuf
|
||||
{
|
||||
let c_compiler: OsString;
|
||||
let mut output_file: PathBuf;
|
||||
let output_file: PathBuf;
|
||||
let mut initial_command: ::std::process::Command;
|
||||
let command: &mut ::std::process::Command;
|
||||
let last_command: &mut ::std::process::Command;
|
||||
@ -188,8 +188,8 @@ fn compile_and_run(output_name: &str, src_files: &[PathBuf], args: &[PathBuf])
|
||||
pub fn main()
|
||||
{
|
||||
let _gen_file: PathBuf;
|
||||
let mut errno_file: PathBuf;
|
||||
let mut gen_errno_file: PathBuf;
|
||||
let errno_file: PathBuf;
|
||||
let gen_errno_file: PathBuf;
|
||||
|
||||
errno_file = build_src_file(ERRNO_GENERATOR_FILENAME);
|
||||
_gen_file = build_output_file(ERRNO_GENERATOR_OUTPUT_FILENAME);
|
||||
|
Reference in New Issue
Block a user