Skip to content

Commit

Permalink
os: remove ineffective else branch
Browse files Browse the repository at this point in the history
Change-Id: Ic9cf871d862aec54ab8f491b8bc8d2820aecc875
Reviewed-on: https://go-review.googlesource.com/c/go/+/582497
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Auto-Submit: Quim Muntal <quimmuntal@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
  • Loading branch information
qmuntal authored and gopherbot committed Apr 30, 2024
1 parent 16ce8b3 commit dc164ea
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/os/path_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,6 @@ func addExtendedPrefix(path string) string {
if n <= uint32(len(buf)-len(prefix)) {
buf = buf[:n+uint32(len(prefix))]
break
} else {
continue
}
}
if isUNC {
Expand Down

0 comments on commit dc164ea

Please sign in to comment.