diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2018-10-26 13:16:24 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2018-10-26 16:08:45 (GMT) |
commit | 45a49ae58abe835bc3ad446b054fa07035c33d60 (patch) | |
tree | ea9d52711ad63e6505de4913eef3f8e183ef43d1 /Source/cmTargetPropCommandBase.cxx | |
parent | 9f64974f5eff103ceda107c362c66c2adc1997ba (diff) | |
download | CMake-45a49ae58abe835bc3ad446b054fa07035c33d60.zip CMake-45a49ae58abe835bc3ad446b054fa07035c33d60.tar.gz CMake-45a49ae58abe835bc3ad446b054fa07035c33d60.tar.bz2 |
cmTargetPropCommandBase: simplify code path
The outside of the loop does the same return expression.
Diffstat (limited to 'Source/cmTargetPropCommandBase.cxx')
-rw-r--r-- | Source/cmTargetPropCommandBase.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmTargetPropCommandBase.cxx b/Source/cmTargetPropCommandBase.cxx index cd82299..48348f3 100644 --- a/Source/cmTargetPropCommandBase.cxx +++ b/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]); } |