0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

updated for version 7.3.804

Problem:    Compiler warning for tiny build. (Tony Mechelynck)
Solution:   Add #ifdefs around variable.
This commit is contained in:
Bram Moolenaar
2013-02-06 18:45:01 +01:00
parent 11cb6e6e13
commit fffcfea984
2 changed files with 4 additions and 0 deletions

View File

@@ -1441,7 +1441,9 @@ set_curbuf(buf, action)
enter_buffer(buf)
buf_T *buf;
{
#ifdef FEAT_SYN_HL
long old_tw = curbuf->b_p_tw;
#endif
/* Copy buffer and window local option values. Not for a help buffer. */
buf_copy_options(buf, BCO_ENTER | BCO_NOHELP);