Commit 78ced14c authored by Tobias Hunger's avatar Tobias Hunger

CppEditor: Remove dead code

Change-Id: If65f43e232c83924a746bcbb30ced5db57dd547b
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <>
Reviewed-by: Nikolai Kosjar's avatarNikolai Kosjar <>
parent f068f598
......@@ -2446,8 +2446,6 @@ void InsertDeclFromDef::match(const CppQuickFixInterface &interface, QuickFixOpe
if (DeclaratorIdAST *declId = node->asDeclaratorId()) {
if (file->isCursorOn(declId)) {
if (FunctionDefinitionAST *candidate = - 2)->asFunctionDefinition()) {
if (funDef)
funDef = candidate;
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