Skip to content

Commit 7aa3e31

Browse files
author
Mike Pall
committed
Fix warning.
1 parent 0504665 commit 7aa3e31

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/jit/dump.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ local function dump_trace(what, tr, func, pc, otr, oex)
571571
end
572572

573573
-- Dump recorded bytecode.
574-
local function dump_record(tr, func, pc, depth, callee)
574+
local function dump_record(tr, func, pc, depth)
575575
if depth ~= recdepth then
576576
recdepth = depth
577577
recprefix = rep(" .", depth)
@@ -582,7 +582,6 @@ local function dump_record(tr, func, pc, depth, callee)
582582
if dumpmode.H then line = gsub(line, "[<>&]", html_escape) end
583583
else
584584
line = "0000 "..recprefix.." FUNCC \n"
585-
callee = func
586585
end
587586
if pc <= 0 then
588587
out:write(sub(line, 1, -2), " ; ", fmtfunc(func), "\n")

0 commit comments

Comments
 (0)