eval: set_ref_in_item(): remove dead code

Missed in 25438f149f
This commit is contained in:
Justin M. Keyes 2017-02-06 03:04:53 +01:00
parent bb2f36d038
commit a767fee8cd

View File

@ -6200,17 +6200,6 @@ bool set_ref_in_item(typval_T *tv, int copyID, ht_stack_T **ht_stack,
set_ref_in_callback(&watcher->callback, copyID, ht_stack, list_stack);
}
}
if (tv->v_type == VAR_PARTIAL) {
partial_T *pt = tv->vval.v_partial;
int i;
if (pt != NULL) {
for (i = 0; i < pt->pt_argc; i++) {
abort = abort || set_ref_in_item(&pt->pt_argv[i], copyID,
ht_stack, list_stack);
}
}
}
break;
}