From 1914de71c7dc10c502ecf033c63665eb6d3e6433 Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Sun, 17 Jul 2016 14:29:03 +0200 Subject: Fix unused vars etc. in internal Lua files. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Thanks to François Perrad. --- src/jit/dump.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/jit/dump.lua') diff --git a/src/jit/dump.lua b/src/jit/dump.lua index ec5f8276..7b776422 100644 --- a/src/jit/dump.lua +++ b/src/jit/dump.lua @@ -63,9 +63,9 @@ local traceinfo, traceir, tracek = jutil.traceinfo, jutil.traceir, jutil.tracek local tracemc, tracesnap = jutil.tracemc, jutil.tracesnap local traceexitstub, ircalladdr = jutil.traceexitstub, jutil.ircalladdr local bit = require("bit") -local band, shl, shr = bit.band, bit.lshift, bit.rshift +local band, shr = bit.band, bit.rshift local sub, gsub, format = string.sub, string.gsub, string.format -local byte, char, rep = string.byte, string.char, string.rep +local byte, rep = string.byte, string.rep local type, tostring = type, tostring local stdout, stderr = io.stdout, io.stderr @@ -207,7 +207,7 @@ local colortype_ansi = { "\027[35m%s\027[m", } -local function colorize_text(s, t) +local function colorize_text(s) return s end -- cgit v1.2.3-55-g6feb