diff options
author | Bram Moolenaar <Bram@vim.org> | 2015-04-15 14:27:49 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2015-04-15 14:27:49 +0200 |
commit | ec45c4a6dfd8acf52c8d1412188f54f79dde895e (patch) | |
tree | 6e8c73ba2b4d1f81973c9bd7b86ba3cfb1385a3c /src | |
parent | ba172f2eabd3f8a98a797be6721229b49783ef69 (diff) |
patch 7.4.701v7.4.701
Problem: Compiler warning for using uninitialized variable. (Yasuhiro
Matsumoto)
Solution: Initialize it.
Diffstat (limited to 'src')
-rw-r--r-- | src/hardcopy.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/hardcopy.c b/src/hardcopy.c index b2e400f906..def619f3e5 100644 --- a/src/hardcopy.c +++ b/src/hardcopy.c @@ -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++) diff --git a/src/version.c b/src/version.c index c03b9a4c57..3f913caf99 100644 --- 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, |