Skip to content

Commit

Permalink
Fix get_prev_executed_filename (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
huanghantao committed Dec 10, 2020
1 parent b0c9024 commit 489c7b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ const char *Util::get_prev_executed_filename() {
return ptr->func->op_array.filename->val;
}

return nullptr;
return "unknow file";
}

const char *Util::get_prev_executed_function_name() {
Expand Down

0 comments on commit 489c7b8

Please sign in to comment.