]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
REM: Remove a double pasted section of local variables.
authoriceman1001 <iceman@iuse.se>
Fri, 24 Jul 2015 18:34:31 +0000 (20:34 +0200)
committericeman1001 <iceman@iuse.se>
Fri, 24 Jul 2015 18:34:31 +0000 (20:34 +0200)
client/scripts/tnp3sim.lua

index 4e10eb75382ac8b4e05f54b2648fb2eb58dd409f..fa9d1c22d998db91d36065d07849001cad899ab5 100644 (file)
@@ -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
Impressum, Datenschutz