Skip to content

Commit 7c861bc

Browse files
authored
Fix comment from #158719 (#159157)
1 parent 0e5c32b commit 7c861bc

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)