diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-02-06 18:45:01 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-02-06 18:45:01 +0100 |
commit | fffcfea9845021269da36bbe8eee5641ebb144c4 (patch) | |
tree | e828884beb777a0717ba985645c3cb24a532ebed /src/buffer.c | |
parent | 11cb6e6e137afb9e20d68e69bf38d458a96701fd (diff) | |
download | vim-git-fffcfea9845021269da36bbe8eee5641ebb144c4.tar.gz |
updated for version 7.3.804v7.3.804
Problem: Compiler warning for tiny build. (Tony Mechelynck)
Solution: Add #ifdefs around variable.
Diffstat (limited to 'src/buffer.c')
-rw-r--r-- | src/buffer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/buffer.c b/src/buffer.c index f4713a1f7..cfe408093 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -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); |