瀏覽代碼

COMP: Removed unused variable.

Brad King 19 年之前
父節點
當前提交
a7441ce80e
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      Source/cmAddSubDirectoryCommand.cxx

+ 0 - 2
Source/cmAddSubDirectoryCommand.cxx

@@ -54,14 +54,12 @@ bool cmAddSubDirectoryCommand::InitialPass
     }
 
   // check for relative arguments
-  bool relativeSource = true;
   std::string binPath = binArg;
   std::string srcPath = std::string(this->Makefile->GetCurrentDirectory()) + 
     "/" + srcArg;
   // if the path does not exist then the arg was relative
   if (!cmSystemTools::FileIsDirectory(srcPath.c_str()))
     {
-    relativeSource = false;
     srcPath = srcArg;
     if (!cmSystemTools::FileIsDirectory(srcPath.c_str()))
       {