add else block for code clarity and to aid static analysis JITInputFile.cpp

This commit is contained in:
Scott Fennell 2018-10-03 10:49:11 -05:00
parent 8f20710761
commit 53886fb54d

View File

@ -207,12 +207,13 @@ int Trick::JITInputFile::run(std::string file_name , std::string run_function )
if ( call_me == NULL ) {
std::string error_message = "JITInputfile could not find function " + run_function ;
exec_terminate_with_return(-1 , __FILE__ , __LINE__ , error_message.c_str() ) ;
}
} else {
// We found the function, call it!
ret = (*call_me)() ;
return ret ;
}
}
/**