Mercurial > vim
diff src/option.h @ 2696:a041f68d0590 v7.3.114
updated for version 7.3.114
Problem: Potential problem in initialization when giving an error message
early.
Solution: Initialize 'verbosefile' empty. (Ben Schmidt)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 09 Feb 2011 15:59:37 +0100 |
parents | b2a7d143abe2 |
children | 77f3dd990b12 |
line wrap: on
line diff
--- a/src/option.h +++ b/src/option.h @@ -854,7 +854,11 @@ static char *(p_ve_values[]) = {"block", # define VE_ONEMORE 8 #endif EXTERN long p_verbose; /* 'verbose' */ +#ifdef IN_OPTION_C +char_u *p_vfile = (char_u *)""; /* used before options are initialized */ +#else EXTERN char_u *p_vfile; /* 'verbosefile' */ +#endif EXTERN int p_warn; /* 'warn' */ #ifdef FEAT_CMDL_COMPL EXTERN char_u *p_wop; /* 'wildoptions' */