Remove unnecessary uses of util::fmt()

This commit is contained in:
Tim Wojtulewicz 2022-05-16 13:49:04 -07:00
parent 8184073ef8
commit d73f9a78dd
3 changed files with 13 additions and 13 deletions

View file

@ -325,7 +325,7 @@ int dbg_cmd_frame(DebugCmd cmd, const vector<string>& args)
// for 'list', 'break', etc.
const Stmt* stmt = g_frame_stack[user_frame_number]->GetNextStmt();
if ( ! stmt )
reporter->InternalError("Assertion failed: %s", "stmt != 0");
reporter->InternalError("Assertion failed: stmt is null");
const Location loc = *stmt->GetLocationInfo();
g_debugger_state.last_loc = loc;
@ -362,7 +362,7 @@ int dbg_cmd_break(DebugCmd cmd, const vector<string>& args)
Stmt* stmt = g_frame_stack[user_frame_number]->GetNextStmt();
if ( ! stmt )
reporter->InternalError("Assertion failed: %s", "stmt != 0");
reporter->InternalError("Assertion failed: stmt is null");
DbgBreakpoint* bp = new DbgBreakpoint();
bp->SetID(g_debugger_state.NextBPID());