From 02efdb4d587242122df99b347a25fd4c96b0ca97 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Fri, 29 Jul 2022 14:44:18 +0800 Subject: refactor: fix clang and PVS warnings (#19569) The last commit didn't actually disable V1028 because of a typo. Fix the typo so it is actually disabled. --- src/nvim/eval/userfunc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nvim/eval') diff --git a/src/nvim/eval/userfunc.c b/src/nvim/eval/userfunc.c index 7283fb3cec..a90148bf23 100644 --- a/src/nvim/eval/userfunc.c +++ b/src/nvim/eval/userfunc.c @@ -1268,7 +1268,7 @@ void free_all_functions(void) // Clean up the current_funccal chain and the funccal stack. while (current_funccal != NULL) { tv_clear(current_funccal->rettv); - cleanup_function_call(current_funccal); + cleanup_function_call(current_funccal); // -V595 if (current_funccal == NULL && funccal_stack != NULL) { restore_funccal(); } -- cgit