[cmake-commits] martink committed cmDocumentation.cxx 1.58 1.59
cmake-commits at cmake.org
cmake-commits at cmake.org
Tue Oct 23 10:07:42 EDT 2007
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv3722/Source
Modified Files:
cmDocumentation.cxx
Log Message:
COMP: fix a problem with a shadowed var
Index: cmDocumentation.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmDocumentation.cxx,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -d -r1.58 -r1.59
--- cmDocumentation.cxx 22 Oct 2007 20:41:15 -0000 1.58
+++ cmDocumentation.cxx 23 Oct 2007 14:07:40 -0000 1.59
@@ -823,9 +823,8 @@
cmDocumentationSection *sec = 0;
if (this->AllSections.find(name) == this->AllSections.end())
{
- cmDocumentationSection *sec =
- new cmDocumentationSection(name,
- cmSystemTools::UpperCase(name).c_str());
+ sec = new cmDocumentationSection
+ (name, cmSystemTools::UpperCase(name).c_str());
this->SetSection(name,sec);
}
else
@@ -842,9 +841,8 @@
cmDocumentationSection *sec = 0;
if (this->AllSections.find(name) == this->AllSections.end())
{
- cmDocumentationSection *sec =
- new cmDocumentationSection(name,
- cmSystemTools::UpperCase(name).c_str());
+ sec = new cmDocumentationSection
+ (name, cmSystemTools::UpperCase(name).c_str());
this->SetSection(name,sec);
}
else
@@ -861,9 +859,8 @@
cmDocumentationSection *sec = 0;
if (this->AllSections.find(name) == this->AllSections.end())
{
- cmDocumentationSection *sec =
- new cmDocumentationSection(name,
- cmSystemTools::UpperCase(name).c_str());
+ sec = new cmDocumentationSection
+ (name, cmSystemTools::UpperCase(name).c_str());
this->SetSection(name,sec);
}
else
More information about the Cmake-commits
mailing list