From 77b9f1eac5616fc018b29a2e968c2e6a84b5538d Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Thu, 21 Jul 2022 17:42:59 +0800 Subject: refactor: fix clang warnings (#19453) --- src/nvim/mapping.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nvim/mapping.c') diff --git a/src/nvim/mapping.c b/src/nvim/mapping.c index 5a11ac686e..9d1a847663 100644 --- a/src/nvim/mapping.c +++ b/src/nvim/mapping.c @@ -2028,7 +2028,7 @@ static void get_maparg(typval_T *argvars, typval_T *rettv, int exact) int mode; bool abbr = false; bool get_dict = false; - mapblock_T *mp; + mapblock_T *mp = NULL; int buffer_local; int flags = REPTERM_FROM_PART | REPTERM_DO_LT; -- cgit