Commit ccb7aa81 authored by Nikita Baryshnikov's avatar Nikita Baryshnikov

CPlusPlus: fix gcc warning

this 'if' clause does not guard

Change-Id: I004cb72dff2213738c59701d99748d7338991105
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
parent 78944e60
......@@ -517,8 +517,8 @@ QList<LookupItem> LookupContext::lookup(const Name *name, Scope *scope) const
if (ClassOrNamespace *binding = bindings()->lookupType(scope))
candidates = binding->find(name);
if (! candidates.isEmpty())
return candidates;
if (! candidates.isEmpty())
return candidates;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment