]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 7.4.701 v7.4.701
authorBram Moolenaar <Bram@vim.org>
Wed, 15 Apr 2015 12:27:49 +0000 (14:27 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 15 Apr 2015 12:27:49 +0000 (14:27 +0200)
Problem:    Compiler warning for using uninitialized variable. (Yasuhiro
            Matsumoto)
Solution:   Initialize it.

src/hardcopy.c
src/version.c

index b2e400f9069f85878a880be694bbd20e61cc2489..def619f3e5236481e83eaf6a85b497a5a506d94f 100644 (file)
@@ -2513,7 +2513,7 @@ mch_print_init(psettings, jobname, forceit)
     props = enc_canon_props(p_encoding);
     if (!(props & ENC_8BIT) && ((*p_pmcs != NUL) || !(props & ENC_UNICODE)))
     {
-       int cmap_first;
+       int cmap_first = 0;
 
        p_mbenc_first = NULL;
        for (cmap = 0; cmap < (int)NUM_ELEMENTS(prt_ps_mbfonts); cmap++)
index c03b9a4c575cc8cdda50ce9158e45c48f7d00458..3f913caf994f93c3a80c190142ebbe3e59da6438 100644 (file)
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    701,
 /**/
     700,
 /**/