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 131029734936e79cef275f33629b5bb1384f706c (commit) via 3e4ba898c17c5366e42c317dc73bf94954ec8d68 (commit) from a38c33ca7f96b70f131c3ca38efcce3ed5616a25 (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=131029734936e79cef275f33629b5bb1384f706c commit 131029734936e79cef275f33629b5bb1384f706c Merge: a38c33c 3e4ba89 Author: Bill Hoffman <bill.hoff...@kitware.com> AuthorDate: Wed Jun 29 15:24:05 2011 -0400 Commit: CMake Topic Stage <kwro...@kitware.com> CommitDate: Wed Jun 29 15:24:05 2011 -0400 Merge topic 'performance_fix' into next 3e4ba89 Only pay for unused variable checking if it is on. http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=3e4ba898c17c5366e42c317dc73bf94954ec8d68 commit 3e4ba898c17c5366e42c317dc73bf94954ec8d68 Author: Bill Hoffman <bill.hoff...@kitware.com> AuthorDate: Tue Jun 21 15:59:10 2011 -0400 Commit: Bill Hoffman <bill.hoff...@kitware.com> CommitDate: Tue Jun 21 15:59:10 2011 -0400 Only pay for unused variable checking if it is on. diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 63bf03b..014ef67 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -1759,6 +1759,10 @@ void cmMakefile::AddDefinition(const char* name, bool value) void cmMakefile::CheckForUnusedVariables() const { + if (!this->WarnUnused) + { + return; + } const cmDefinitions& defs = this->Internal->VarStack.top(); const std::set<cmStdString>& locals = defs.LocalKeys(); std::set<cmStdString>::const_iterator it = locals.begin(); ----------------------------------------------------------------------- Summary of changes: Source/cmMakefile.cxx | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) hooks/post-receive -- CMake _______________________________________________ Cmake-commits mailing list Cmake-commits@cmake.org http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits