Mercurial > vim
comparison src/autocmd.c @ 29022:e79bfdc53aee v8.2.5033
patch 8.2.5033: build error with +eval but without +quickfix
Commit: https://github.com/vim/vim/commit/968443efb5a2a1ed7e1084f2aff65a95f2d0a17b
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri May 27 21:16:34 2022 +0100
patch 8.2.5033: build error with +eval but without +quickfix
Problem: Build error with +eval but without +quickfix. Warning for
uninitialized variable.
Solution: Adjust #ifdefs. (John Marriott)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 27 May 2022 22:30:03 +0200 |
parents | aadeddf38d9b |
children | e7bd4c788053 |
comparison
equal
deleted
inserted
replaced
29021:b8a4aec82685 | 29022:e79bfdc53aee |
---|---|
2767 char_u *pat = NULL; | 2767 char_u *pat = NULL; |
2768 list_T *pat_list; | 2768 list_T *pat_list; |
2769 listitem_T *pli; | 2769 listitem_T *pli; |
2770 char_u *cmd = NULL; | 2770 char_u *cmd = NULL; |
2771 char_u *end; | 2771 char_u *end; |
2772 char_u *p; | |
2773 int once; | 2772 int once; |
2774 int nested; | 2773 int nested; |
2775 int replace; // replace the cmd for a group/event | 2774 int replace; // replace the cmd for a group/event |
2776 int retval = VVAL_TRUE; | 2775 int retval = VVAL_TRUE; |
2777 int save_augroup = current_augroup; | 2776 int save_augroup = current_augroup; |
2935 } | 2934 } |
2936 } | 2935 } |
2937 } | 2936 } |
2938 else | 2937 else |
2939 { | 2938 { |
2939 char_u *p = NULL; | |
2940 | |
2940 eli = NULL; | 2941 eli = NULL; |
2941 end = NULL; | 2942 end = NULL; |
2942 while (TRUE) | 2943 while (TRUE) |
2943 { | 2944 { |
2944 if (event_list != NULL) | 2945 if (event_list != NULL) |