From: iceman1001 Date: Fri, 24 Jul 2015 18:34:31 +0000 (+0200) Subject: REM: Remove a double pasted section of local variables. X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/3b4fa54235ce612410d0f15ea7a83090031e4498?hp=14e18625377f3fd0a1e3ddd5ac8f286b78531eda REM: Remove a double pasted section of local variables. --- diff --git a/client/scripts/tnp3sim.lua b/client/scripts/tnp3sim.lua index 4e10eb75..fa9d1c22 100644 --- a/client/scripts/tnp3sim.lua +++ b/client/scripts/tnp3sim.lua @@ -30,17 +30,6 @@ local TIMEOUT = 2000 -- Shouldn't take longer than 2 seconds local DEBUG = false -- the debug flag local RANDOM = '20436F707972696768742028432920323031302041637469766973696F6E2E20416C6C205269676874732052657365727665642E20' -local band = bit32.band -local bor = bit32.bor -local lshift = bit32.lshift -local rshift = bit32.rshift -local byte = string.byte -local char = string.char -local sub = string.sub -local format = string.format - - - local band = bit32.band local bor = bit32.bor local lshift = bit32.lshift @@ -71,6 +60,7 @@ end -- This is only meant to be used when errors occur function oops(err) print("ERROR: ",err) + return nil,err end --- -- Usage help