From 4350a1f4a1136247b6d183f345ef1e91c78506e0 Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Sat, 16 Jul 2016 15:58:28 +0200 Subject: [PATCH] [luacheck] fix (W311) value assigned to variable b is unused --- src/jit/dis_x86.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jit/dis_x86.lua b/src/jit/dis_x86.lua index 0bbd198f..8cac9ae9 100644 --- a/src/jit/dis_x86.lua +++ b/src/jit/dis_x86.lua @@ -818,7 +818,7 @@ map_act = { m = b%32; b = (b-m)/32 local nb = b%2; b = (b-nb)/2 if nb == 0 then ctx.rexb = true end - local nx = b%2; b = (b-nx)/2 + local nx = b%2 if nx == 0 then ctx.rexx = true end b = byte(ctx.code, pos, pos) if not b then return incomplete(ctx) end