From 7aa3e313a363049bef4a75ad9c75b1dd2adfc3de Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Mon, 30 Nov 2020 15:46:07 +0100 Subject: [PATCH] Fix warning. --- src/jit/dump.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/jit/dump.lua b/src/jit/dump.lua index 6a2632c3..cbf0bdd9 100644 --- a/src/jit/dump.lua +++ b/src/jit/dump.lua @@ -571,7 +571,7 @@ local function dump_trace(what, tr, func, pc, otr, oex) end -- Dump recorded bytecode. -local function dump_record(tr, func, pc, depth, callee) +local function dump_record(tr, func, pc, depth) if depth ~= recdepth then recdepth = depth recprefix = rep(" .", depth) @@ -582,7 +582,6 @@ local function dump_record(tr, func, pc, depth, callee) if dumpmode.H then line = gsub(line, "[<>&]", html_escape) end else line = "0000 "..recprefix.." FUNCC \n" - callee = func end if pc <= 0 then out:write(sub(line, 1, -2), " ; ", fmtfunc(func), "\n")