Fixed gcc compiler warning

This commit is contained in:
Clifford Wolf 2014-03-06 16:37:19 +01:00
parent 9b9c3327cc
commit 4d07f88258
1 changed files with 2 additions and 1 deletions

View File

@ -145,7 +145,8 @@ struct Vhdl2verilogPass : public Pass {
}
log_header("Removing temp directory `%s':\n", tempdir_name);
system(stringf("rm -rf '%s'", tempdir_name).c_str());
if (system(stringf("rm -rf '%s'", tempdir_name).c_str()) != 0)
log_error("Execution of \"rm -rf '%s'\" failed!\n", tempdir_name);
log_pop();
}