# HG changeset patch # User Bram Moolenaar # Date 1429100869 -7200 # Node ID b019669eee536e8d9a19dc0c2fc8d3ab46607f12 # Parent fddea8f64a513b0f18897f2da90b4d79bc9b1ce9 patch 7.4.701 Problem: Compiler warning for using uninitialized variable. (Yasuhiro Matsumoto) Solution: Initialize it. diff --git a/src/hardcopy.c b/src/hardcopy.c --- a/src/hardcopy.c +++ b/src/hardcopy.c @@ -2513,7 +2513,7 @@ mch_print_init(psettings, jobname, force 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++) diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -742,6 +742,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 701, +/**/ 700, /**/ 699,