From 8a3be5da7456d065eb510805b6396a7bd938504e Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Fri, 11 Jan 2013 12:30:10 +0100 Subject: [PATCH] Remove redundant code in jit/*.lua. --- src/jit/bc.lua | 1 - src/jit/dump.lua | 1 - 2 files changed, 2 deletions(-) diff --git a/src/jit/bc.lua b/src/jit/bc.lua index 15317bcd..c6491382 100644 --- a/src/jit/bc.lua +++ b/src/jit/bc.lua @@ -58,7 +58,6 @@ local function ctlsub(c) if c == "\n" then return "\\n" elseif c == "\r" then return "\\r" elseif c == "\t" then return "\\t" - elseif c == "\r" then return "\\r" else return format("\\%03d", byte(c)) end end diff --git a/src/jit/dump.lua b/src/jit/dump.lua index e5871b8d..6c50a616 100644 --- a/src/jit/dump.lua +++ b/src/jit/dump.lua @@ -285,7 +285,6 @@ local function ctlsub(c) if c == "\n" then return "\\n" elseif c == "\r" then return "\\r" elseif c == "\t" then return "\\t" - elseif c == "\r" then return "\\r" else return format("\\%03d", byte(c)) end end