commit | fffcfea9845021269da36bbe8eee5641ebb144c4 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Wed Feb 06 18:45:01 2013 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Wed Feb 06 18:45:01 2013 +0100 |
tree | e828884beb777a0717ba985645c3cb24a532ebed | |
parent | 11cb6e6e137afb9e20d68e69bf38d458a96701fd [diff] [blame] |
updated for version 7.3.804 Problem: Compiler warning for tiny build. (Tony Mechelynck) Solution: Add #ifdefs around variable.
diff --git a/src/buffer.c b/src/buffer.c index f4713a1..cfe4080 100644 --- a/src/buffer.c +++ b/src/buffer.c
@@ -1441,7 +1441,9 @@ 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);