Fix logic warning.

This commit is contained in:
Axel Naumann 2014-08-14 15:07:26 +02:00 committed by sftnight
parent 0aa2a31fa0
commit e8b44912d7

View File

@ -531,7 +531,7 @@ namespace cling {
return;
}
if (D->isDefinedOutsideFunctionOrMethod() && !D->getStorageClass() == SC_Extern)
if (D->isDefinedOutsideFunctionOrMethod() && D->getStorageClass() != SC_Extern)
Out() << "extern ";
m_Policy.Bool = true;