diff --git a/llvm/lib/Support/Windows/Program.inc b/llvm/lib/Support/Windows/Program.inc index d8d2e181aa337..ec785e407cc57 100644 --- a/llvm/lib/Support/Windows/Program.inc +++ b/llvm/lib/Support/Windows/Program.inc @@ -220,8 +220,7 @@ static bool Execute(ProcessInfo &PI, StringRef Program, llvm::append_range(EnvBlock, EnvString); EnvBlock.push_back(0); } - // If an empty environment (*Env is size zero), we need to - // terminate with two nulls. + // Empty environments need to be terminated with two nulls. if (Env->size() == 0) EnvBlock.push_back(0); EnvBlock.push_back(0);