COMP: Fix assignment inside condition
This commit is contained in:
parent
4db6658d8f
commit
46e3956349
|
@ -343,8 +343,8 @@ void cmDocumentation::ClearSections()
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
void cmDocumentation::AddDocumentIntroToPrint(const char* intro[2])
|
void cmDocumentation::AddDocumentIntroToPrint(const char* intro[2])
|
||||||
{
|
{
|
||||||
const char* docname;
|
const char* docname = this->GetDocName(false);
|
||||||
if (intro && (docname = this->GetDocName(false)))
|
if(intro && docname)
|
||||||
{
|
{
|
||||||
cmDocumentationSection* section;
|
cmDocumentationSection* section;
|
||||||
std::string desc("");
|
std::string desc("");
|
||||||
|
|
Loading…
Reference in New Issue