mirror of
https://github.com/reactos/CMake.git
synced 2024-11-25 12:40:06 +00:00
ENH: fix compiler warning
This commit is contained in:
parent
0b7e1f5398
commit
c0dc50bf6d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user