changeset 4101:2eb4b9ed2d42 v7.3.804

updated for version 7.3.804 Problem: Compiler warning for tiny build. (Tony Mechelynck) Solution: Add #ifdefs around variable.
author Bram Moolenaar <bram@vim.org>
date Wed, 06 Feb 2013 18:45:01 +0100
parents 1ff4de5103f8
children 5ebccadf0fd7
files src/buffer.c src/version.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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);
--- a/src/version.c
+++ b/src/version.c
@@ -726,6 +726,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    804,
+/**/
     803,
 /**/
     802,