From 7dd634f238fc752f65ce394512e20b43a4e92ee5 Mon Sep 17 00:00:00 2001 From: doapp-ryanp Date: Thu, 11 Jul 2013 13:27:40 -0500 Subject: [PATCH] nitpick - unused var toJson --- lib/response/format.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/response/format.js b/lib/response/format.js index 94d3dd95..4b9522db 100644 --- a/lib/response/format.js +++ b/lib/response/format.js @@ -33,8 +33,7 @@ builtInFormats = { , 'json': { contentType: ['application/json', 'text/json'] , handler: function (content, controller, opts, callback) { - var res - , toJson; + var res; if (content) { // JSON.stringify should automatically use .toJSON res = JSON.stringify(content);