1
0
forked from aniani/vim

Remove unused code.

This commit is contained in:
Bram Moolenaar
2010-08-08 16:38:42 +02:00
parent 83687a7215
commit 09092155a6
31 changed files with 15 additions and 714 deletions

View File

@@ -1494,13 +1494,6 @@ tclgetref(interp, refstartP, prefix, vimobj, proc)
else
{
ref = (struct ref *)Tcl_Alloc(sizeof(struct ref));
#if 0 /* Tcl_Alloc either succeeds or does not return */
if (!ref)
{
Tcl_SetResult(interp, "out of memory", TCL_STATIC);
return NULL;
}
#endif
ref->interp = NULL;
ref->next = (struct ref *)(*refstartP);
(*refstartP) = (void *)ref;