From 63a83a65c3e7b6ea8d1e3dd7f8594c73ebfb4c64 Mon Sep 17 00:00:00 2001 From: Stefan Bethke Date: Wed, 5 Oct 2016 16:49:53 +0200 Subject: [PATCH] Remove superflous code. --- lib/output.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/output.js b/lib/output.js index ddc28820..dd94fea5 100644 --- a/lib/output.js +++ b/lib/output.js @@ -152,10 +152,8 @@ function OutputStream(options) { case "\x0B": return options.screw_ie8 ? "\\v" : "\\x0B"; case "\0": return /[0-7]/.test(str.charAt(i+1)) ? "\\x00" : "\\0"; - default: - return to_ascii(s); } - return s; + return to_ascii(s); }); function quote_single() { return "'" + str.replace(/\x27/g, "\\'") + "'";