浏览代码

cmFindProgramCommand: Remove stray cut-n-paste comment

In commit ef935b17ab (clang-tidy: fix `readability-use-anyofallof`
warnings, 2021-01-22, v3.20.0-rc1~95^2) a comment was copied to a
location where it doesn't make sense.
Brad King 1 年之前
父节点
当前提交
9fb1caa1b9
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      Source/cmFindProgramCommand.cxx

+ 0 - 2
Source/cmFindProgramCommand.cxx

@@ -81,8 +81,6 @@ struct cmFindProgramHelper
   {
     return std::any_of(this->Names.begin(), this->Names.end(),
                        [this, &path](std::string const& n) -> bool {
-                         // Only perform search relative to current directory
-                         // if the file name contains a directory separator.
                          return this->CheckDirectoryForName(path, n);
                        });
   }