mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 09:08:20 +00:00
Remove unnecessary uses of util::fmt()
This commit is contained in:
parent
8184073ef8
commit
d73f9a78dd
3 changed files with 13 additions and 13 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue