]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.804 v7.3.804
authorBram Moolenaar <Bram@vim.org>
Wed, 6 Feb 2013 17:45:01 +0000 (18:45 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 6 Feb 2013 17:45:01 +0000 (18:45 +0100)
Problem:    Compiler warning for tiny build. (Tony Mechelynck)
Solution:   Add #ifdefs around variable.

src/buffer.c
src/version.c

index f4713a1f790104f198609a82806d43e7100a6326..cfe408093c8c6df25220d42387a96322951bbb5a 100644 (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);
index 6f3020cae2b102e600e0d85e43138e22e4fb49a8..261a032cb042816e7ff4e2af15fa388bc0b0039b 100644 (file)
@@ -725,6 +725,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    804,
 /**/
     803,
 /**/