From 0fa678c02f569484e43b58253d8304ae5e5d0289 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Fri, 12 Dec 2025 23:42:13 -0500 Subject: [PATCH] vim-patch:8.2.4637: warning for using uninitialized variable Problem: Warning for using uninitialized variable. (Tony Mechelynck) Solution: Initialize it. https://github.com/vim/vim/commit/565d1278cbbb7bc927bee207d5c2bc0bb95928fa Co-authored-by: Bram Moolenaar --- src/nvim/ex_docmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c index 24dcc76b19..71927d1450 100644 --- a/src/nvim/ex_docmd.c +++ b/src/nvim/ex_docmd.c @@ -2511,7 +2511,7 @@ static char *ex_range_without_command(exarg_T *eap) /// @return FAIL when the command is not to be executed. int parse_command_modifiers(exarg_T *eap, const char **errormsg, cmdmod_T *cmod, bool skip_only) { - char *cmd_start; + char *cmd_start = NULL; bool has_visual_range = false; CLEAR_POINTER(cmod);