diff options
Diffstat (limited to 'src/if_tcl.c')
-rw-r--r-- | src/if_tcl.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/if_tcl.c b/src/if_tcl.c index 6ec48cc053..f87407d4f9 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; |