[Cmake-commits] CMake branch, next, updated. v2.8.10.2-1603-g47483c8
Stephen Kelly
steveire at gmail.com
Mon Jan 14 12:18:25 EST 2013
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, next has been updated
via 47483c8f890b0ebf5e1383e98d6c10f3c01041f2 (commit)
via 5c26f9271b32f3157cdfebcc80f8f4d4dec599fa (commit)
from 0e1e6e37210efaf68809c24d7adc47be026376a8 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=47483c8f890b0ebf5e1383e98d6c10f3c01041f2
commit 47483c8f890b0ebf5e1383e98d6c10f3c01041f2
Merge: 0e1e6e3 5c26f92
Author: Stephen Kelly <steveire at gmail.com>
AuthorDate: Mon Jan 14 12:18:23 2013 -0500
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Mon Jan 14 12:18:23 2013 -0500
Merge topic 'export-cleanups' into next
5c26f92 Don't try to check the last char of an empty string.
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=5c26f9271b32f3157cdfebcc80f8f4d4dec599fa
commit 5c26f9271b32f3157cdfebcc80f8f4d4dec599fa
Author: Stephen Kelly <steveire at gmail.com>
AuthorDate: Mon Jan 14 18:17:23 2013 +0100
Commit: Stephen Kelly <steveire at gmail.com>
CommitDate: Mon Jan 14 18:17:23 2013 +0100
Don't try to check the last char of an empty string.
diff --git a/Source/cmGeneratorExpression.cxx b/Source/cmGeneratorExpression.cxx
index c9a2e5e..78ae8f2 100644
--- a/Source/cmGeneratorExpression.cxx
+++ b/Source/cmGeneratorExpression.cxx
@@ -171,7 +171,7 @@ static std::string stripEmptyListElements(const std::string &input)
result += *c;
}
- if (*(result.end() - 1) == ';')
+ if (!result.empty() && *(result.end() - 1) == ';')
{
result.resize(result.size() - 1);
}
-----------------------------------------------------------------------
Summary of changes:
Source/cmGeneratorExpression.cxx | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list