forked from qt-creator/qt-creator
CppEditor: Remove dead code
Change-Id: If65f43e232c83924a746bcbb30ced5db57dd547b Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
@@ -2446,8 +2446,6 @@ void InsertDeclFromDef::match(const CppQuickFixInterface &interface, QuickFixOpe
|
||||
if (DeclaratorIdAST *declId = node->asDeclaratorId()) {
|
||||
if (file->isCursorOn(declId)) {
|
||||
if (FunctionDefinitionAST *candidate = path.at(idx - 2)->asFunctionDefinition()) {
|
||||
if (funDef)
|
||||
return;
|
||||
funDef = candidate;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user