ENH: fix compiler warning

This commit is contained in:
Ken Martin 2006-12-05 10:38:36 -05:00
parent 0b7e1f5398
commit c0dc50bf6d
1 changed files with 6 additions and 6 deletions

View File

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