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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user