ENH: fix compiler warning

This commit is contained in:
Ken Martin 2006-12-05 10:38:36 -05:00
parent 0b7e1f5398
commit c0dc50bf6d

View File

@ -29,20 +29,20 @@ cmDocumentationEntry cmPropertyDefinition::GetDocumentation() const
void cmPropertyDefinition
::DefineProperty(const char *name, cmProperty::ScopeType scope,
const char *ShortDescription,
const char *FullDescription,
const char *shortDescription,
const char *fullDescription,
bool chain)
{
this->Name = name;
this->Scope = scope;
this->Chained = chain;
if (ShortDescription)
if (shortDescription)
{
this->ShortDescription = ShortDescription;
this->ShortDescription = shortDescription;
}
if (FullDescription)
if (fullDescription)
{
this->FullDescription = FullDescription;
this->FullDescription = fullDescription;
}
this->LongName = this->Name;
switch (this->Scope)