浏览代码

ERR: RunCommand method needed return in unix.

Brad King 24 年之前
父节点
当前提交
09e9a53bb1
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Source/cmSystemTools.cxx

+ 1 - 0
Source/cmSystemTools.cxx

@@ -602,6 +602,7 @@ bool cmSystemTools::RunCommand(const char* command,
     fgets(buffer, BUFFER_SIZE, cpipe);
     fgets(buffer, BUFFER_SIZE, cpipe);
     }
     }
   fclose(cpipe);
   fclose(cpipe);
+  return true;
 #endif
 #endif
 }
 }