From 919c12c19a9785b856bc32dfe6cd8e9277178b62 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 14 Dec 2021 14:29:16 +0000 Subject: [PATCH] patch 8.2.3808: Vim9: obsolete TODO items Problem: Vim9: obsolete TODO items Solution: Remove the comments. --- src/version.c | 2 ++ src/vim9execute.c | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/version.c b/src/version.c index 08bfba17b..6410f4fa8 100644 --- a/src/version.c +++ b/src/version.c @@ -749,6 +749,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 3808, /**/ 3807, /**/ diff --git a/src/vim9execute.c b/src/vim9execute.c index c5334983e..3160f0df2 100644 --- a/src/vim9execute.c +++ b/src/vim9execute.c @@ -680,7 +680,9 @@ func_return(ectx_T *ectx) } } #endif - // TODO: when is it safe to delete the function when it is no longer used? + + // No check for uf_refcount being zero, cannot think of a way that would + // happen. --dfunc->df_ufunc->uf_calls; // execution context goes one level up @@ -5623,7 +5625,6 @@ list_instructions(char *pfx, isn_T *instr, int instr_count, ufunc_T *ufunc) } break; case ISN_CATCH: - // TODO smsg("%s%4d CATCH", pfx, current); break; case ISN_TRYCONT: @@ -5819,7 +5820,6 @@ list_instructions(char *pfx, isn_T *instr, int instr_count, ufunc_T *ufunc) (long)iptr->isn_arg.put.put_lnum); break; - // TODO: summarize modifiers case ISN_CMDMOD: { char_u *buf; -- 2.40.0