]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.435 v7.3.435
authorBram Moolenaar <Bram@vim.org>
Sat, 11 Feb 2012 19:40:55 +0000 (20:40 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 11 Feb 2012 19:40:55 +0000 (20:40 +0100)
Problem:    Compiler warning for unused variable.
Solution:   Move the variable inside #ifdef.

src/ex_cmds2.c
src/version.c

index ddfe103b654819d33cd9ed612d7e2bfb9989884f..92cd73358e8a16efce1f128d3314a2f8c72246d6 100644 (file)
@@ -3400,7 +3400,7 @@ getsourceline(c, cookie, indent)
 {
     struct source_cookie *sp = (struct source_cookie *)cookie;
     char_u             *line;
-    char_u             *p, *s;
+    char_u             *p;
 
 #ifdef FEAT_EVAL
     /* If breakpoints have been added/deleted need to check for it. */
@@ -3471,6 +3471,8 @@ getsourceline(c, cookie, indent)
 #ifdef FEAT_MBYTE
     if (line != NULL && sp->conv.vc_type != CONV_NONE)
     {
+       char_u  *s;
+
        /* Convert the encoding of the script line. */
        s = string_convert(&sp->conv, line, NULL);
        if (s != NULL)
index 0977fb3637e03d32064f5bb15565b884a2cb7efc..a181505eee38cfd11d02adafe08ed5575370d6bc 100644 (file)
@@ -714,6 +714,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    435,
 /**/
     434,
 /**/