summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmSystemTools.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index ee5da68..6091ab5 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -1281,10 +1281,7 @@ void cmSystemTools::ExpandListArgument(const std::string& arg,
} break;
case ']':
{
- if(squareNesting)
- {
- --squareNesting;
- }
+ --squareNesting;
newArgVec.push_back(*c);
} break;
case ';':