From 34839d89e9bbfec565fc1b58422d4f3feca4866f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=BCseyin=20A=C3=A7acak?= <110401522+huseyinacacak-janea@users.noreply.github.com> Date: Mon, 9 Sep 2024 14:20:50 +0300 Subject: [PATCH] Update src/path.cc Co-authored-by: Ruben Bridgewater --- src/path.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/path.cc b/src/path.cc index cc00652c6c207d..628c76549790b8 100644 --- a/src/path.cc +++ b/src/path.cc @@ -174,7 +174,7 @@ std::string PathResolve(Environment* env, while (j < len && !IsPathSeparator(path[j])) { j++; } - if ((j == len || j != last)) { + if (j == len || j != last) { if (firstPart != "." && firstPart != "?") { // We matched a UNC root device =