aboutsummaryrefslogtreecommitdiff
path: root/test/parallel/test-http-keep-alive.js
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2015-12-25 15:32:13 -0800
committerRich Trott <rtrott@gmail.com>2015-12-28 16:17:24 -0800
commitabe8a344a5c00d25dd8a7b4a77085a2c29a5c0c6 (patch)
tree2f6a33d60eef6a3e4e2b9e95ee7279d16d51022c /test/parallel/test-http-keep-alive.js
parent5d6f558ea669507f880e0e50e12e8be50d115d56 (diff)
downloadandroid-node-v8-abe8a344a5c00d25dd8a7b4a77085a2c29a5c0c6.tar.gz
android-node-v8-abe8a344a5c00d25dd8a7b4a77085a2c29a5c0c6.tar.bz2
android-node-v8-abe8a344a5c00d25dd8a7b4a77085a2c29a5c0c6.zip
test: remove unused variables form http tests
The http tests seem especially prone to including unused variables. This change removes them. PR-URL: https://github.com/nodejs/node/pull/4422 Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
Diffstat (limited to 'test/parallel/test-http-keep-alive.js')
-rw-r--r--test/parallel/test-http-keep-alive.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/parallel/test-http-keep-alive.js b/test/parallel/test-http-keep-alive.js
index f89f7698c4..0d30bbe1da 100644
--- a/test/parallel/test-http-keep-alive.js
+++ b/test/parallel/test-http-keep-alive.js
@@ -11,7 +11,6 @@ var server = http.createServer(function(req, res) {
res.end();
});
-var connectCount = 0;
var agent = new http.Agent({maxSockets: 1});
var headers = {'connection': 'keep-alive'};
var name = agent.getName({ port: common.PORT });