diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-08-08 16:38:42 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-08-08 16:38:42 +0200 |
commit | 09092155a66388bbd7be8d16debb35abfcfae700 (patch) | |
tree | 4cbe7f4f0d5c763405f721f7f5dba08864e53ef3 /src/if_tcl.c | |
parent | 83687a72155c70c062c689a9c545b5cdf5ebd0b4 (diff) | |
download | vim-git-09092155a66388bbd7be8d16debb35abfcfae700.tar.gz |
Remove unused code.
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 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; |