]> git.ipfire.org Git - thirdparty/LuaJIT.git/commitdiff
Fix warning.
authorMike Pall <mike>
Mon, 30 Nov 2020 14:46:07 +0000 (15:46 +0100)
committerMike Pall <mike>
Mon, 30 Nov 2020 14:46:07 +0000 (15:46 +0100)
src/jit/dump.lua

index 6a2632c3868b36345bec75121e015681a2b4e96c..cbf0bdd942108352525d8d93e32db99ea495f9a9 100644 (file)
@@ -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")