ENH: fix compiler warning
This commit is contained in:
parent
0b7e1f5398
commit
c0dc50bf6d
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user