vim-patch:8.2.4637: warning for using uninitialized variable

Problem:    Warning for using uninitialized variable. (Tony Mechelynck)
Solution:   Initialize it.

565d1278cb

Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
Jan Edmund Lazo
2025-12-12 23:42:13 -05:00
parent 78292dcc3d
commit 0fa678c02f

View File

@@ -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);