瀏覽代碼

cmAddCustomCommandCommand: remove unnecessary braces

Ben Boeckel 6 年之前
父節點
當前提交
a5f44ec925
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Source/cmAddCustomCommandCommand.cxx

+ 2 - 2
Source/cmAddCustomCommandCommand.cxx

@@ -261,9 +261,9 @@ bool cmAddCustomCommandCommand(std::vector<std::string> const& args,
         case doing_target:
           target = copy;
           break;
-        case doing_depends: {
+        case doing_depends:
           depends.push_back(copy);
-        } break;
+          break;
         case doing_outputs:
           outputs.push_back(filename);
           break;