Skip to content

Commit ba8a8cb

Browse files
authored
refactor(vary): remove redundant assignment (#352)
Signed-off-by: Frazer Smith <[email protected]>
1 parent cd695cd commit ba8a8cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vary.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ function parse (header) {
4242
let char
4343

4444
// tokenize the header
45-
for (i = 0; i < il; ++i) {
45+
for (i; i < il; ++i) {
4646
char = header[i]
4747
// when we have whitespace set the pos to the next position
4848
if (char === ' ') {

0 commit comments

Comments
 (0)