forked from qt-creator/qt-creator
Remove unused local variable in LookupContext::fullyQualifiedName
Change-Id: Icbec0969eab0651481ca752541dbee98fb363630 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -217,7 +217,6 @@ LookupContext &LookupContext::operator=(const LookupContext &other)
|
||||
QList<const Name *> LookupContext::fullyQualifiedName(Symbol *symbol, InlineNamespacePolicy policy)
|
||||
{
|
||||
QList<const Name *> qualifiedName = path(symbol->enclosingScope(), policy);
|
||||
QList<const Name *> symbolNames;
|
||||
addNames(symbol->name(), &qualifiedName, /*add all names*/ true);
|
||||
return qualifiedName;
|
||||
}
|
||||
|
Reference in New Issue
Block a user