Browse Source

cmTargetPropCommandBase: simplify code path

The outside of the loop does the same return expression.
Ben Boeckel 7 years ago
parent
commit
45a49ae58a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/cmTargetPropCommandBase.cxx

+ 1 - 1
Source/cmTargetPropCommandBase.cxx

@@ -101,7 +101,7 @@ bool cmTargetPropCommandBase::ProcessContentArgs(
   for (unsigned int i = argIndex; i < args.size(); ++i, ++argIndex) {
     if (args[i] == "PUBLIC" || args[i] == "PRIVATE" ||
         args[i] == "INTERFACE") {
-      return this->PopulateTargetProperies(scope, content, prepend, system);
+      break;
     }
     content.push_back(args[i]);
   }