From 09092155a66388bbd7be8d16debb35abfcfae700 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 8 Aug 2010 16:38:42 +0200 Subject: Remove unused code. --- src/if_tcl.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/if_tcl.c') diff --git a/src/if_tcl.c b/src/if_tcl.c index 6ec48cc05..f87407d4f 100644 --- a/src/if_tcl.c +++ b/src/if_tcl.c @@ -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; -- cgit v1.2.1