Skip to content

Commit 787717e

Browse files
committed
refactor: remove ineffectual assignment
1 parent 5a4e686 commit 787717e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

path.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ func cleanPath(p string) string {
7777
case '.':
7878
if r+1 == n {
7979
trailing = true
80-
r++
8180
// Reduce one comparison between r and n
8281
goto endOfLoop
8382
}

0 commit comments

Comments
 (0)