Removed the get_cause function since it is redundant.

This commit is contained in:
2020-02-12 22:48:29 -05:00
parent 1633174506
commit 16878ec911
2 changed files with 4 additions and 9 deletions

View File

@ -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);