aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_getln.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-04-21 19:02:50 +0800
committerGitHub <noreply@github.com>2023-04-21 19:02:50 +0800
commitebfb6399d957f893fd3943cd1f495dbc83a44d47 (patch)
tree73efa99460a9ca2fd80f5ff650cb0cc04c387611 /src/nvim/ex_getln.c
parent3e41121e860f57316673e53a442e12cdd5755f15 (diff)
parent4d654472e65ed28b7cd9e66c91d98b9991452266 (diff)
downloadrneovim-ebfb6399d957f893fd3943cd1f495dbc83a44d47.tar.gz
rneovim-ebfb6399d957f893fd3943cd1f495dbc83a44d47.tar.bz2
rneovim-ebfb6399d957f893fd3943cd1f495dbc83a44d47.zip
Merge pull request #23239 from cryptomilk/asn-fix-warnings
Fix compiler warnings detected by gcc 13
Diffstat (limited to 'src/nvim/ex_getln.c')
-rw-r--r--src/nvim/ex_getln.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c
index 97343e468b..a8ac6ab439 100644
--- a/src/nvim/ex_getln.c
+++ b/src/nvim/ex_getln.c
@@ -2446,7 +2446,7 @@ static bool cmdpreview_may_show(CommandLineState *s)
CpInfo cpinfo;
bool icm_split = *p_icm == 's'; // inccommand=split
- buf_T *cmdpreview_buf;
+ buf_T *cmdpreview_buf = NULL;
win_T *cmdpreview_win = NULL;
emsg_silent++; // Block error reporting as the command may be incomplete,