Commit 787c5d9
http: remove variable redeclaration
In lib/_http_client.js, the variable `conn` was declared with the `var`
keyword three times in the same scope. This change eliminates the
variable entirely.
PR-URL: #4612
Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 37a546b commit 787c5d9Copy full SHA for 787c5d9
File tree
Expand file treeCollapse file tree
1 file changed
+3
-5
lines changedOpen diff view settings
Filter options
- lib
Expand file treeCollapse file tree
1 file changed
+3
-5
lines changedOpen diff view settings
Collapse file
+3-5Lines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
121 | 121 | |
122 | 122 | |
123 | 123 | |
124 | | - |
125 | | - |
| 124 | + |
126 | 125 | |
127 | 126 | |
128 | 127 | |
| ||
141 | 140 | |
142 | 141 | |
143 | 142 | |
144 | | - |
| 143 | + |
145 | 144 | |
146 | 145 | |
147 | | - |
| 146 | + |
148 | 147 | |
149 | | - |
150 | 148 | |
151 | 149 | |
152 | 150 | |
|
0 commit comments