mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
http: remove unnecessary check
The value passed to `process.nextTick()` which is passed to the callback is already a valid object, so the conditional will always evaluate to true. PR-URL: https://github.com/nodejs/node/pull/5233 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
1 parent
15091ccca2
commit
ed36235248
1 file changed
+1
-2
@@ -489,8 +489,7 @@ function writeAfterEndNT(self, err, callback) {
|
||||
|
||||
|
||||
function connectionCorkNT(conn) {
|
||||
if (conn)
|
||||
conn.uncork();
|
||||
conn.uncork();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user