Skip to content

Commit c8a7e61

Browse files
author
git apple-llvm automerger
committed
Merge commit '7c861bcedf61' from llvm.org/main into next
2 parents 1c42994 + 7c861bc commit c8a7e61

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/lib/Support/Windows/Program.inc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,7 @@ static bool Execute(ProcessInfo &PI, StringRef Program,
220220
llvm::append_range(EnvBlock, EnvString);
221221
EnvBlock.push_back(0);
222222
}
223-
// If an empty environment (*Env is size zero), we need to
224-
// terminate with two nulls.
223+
// Empty environments need to be terminated with two nulls.
225224
if (Env->size() == 0)
226225
EnvBlock.push_back(0);
227226
EnvBlock.push_back(0);

0 commit comments

Comments
 (0)