summaryrefslogtreecommitdiff
path: root/src/hardcopy.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2015-04-15 14:27:49 +0200
committerBram Moolenaar <Bram@vim.org>2015-04-15 14:27:49 +0200
commitec45c4a6dfd8acf52c8d1412188f54f79dde895e (patch)
tree6e8c73ba2b4d1f81973c9bd7b86ba3cfb1385a3c /src/hardcopy.c
parentba172f2eabd3f8a98a797be6721229b49783ef69 (diff)
downloadvim-git-ec45c4a6dfd8acf52c8d1412188f54f79dde895e.tar.gz
patch 7.4.701v7.4.701
Problem: Compiler warning for using uninitialized variable. (Yasuhiro Matsumoto) Solution: Initialize it.
Diffstat (limited to 'src/hardcopy.c')
-rw-r--r--src/hardcopy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hardcopy.c b/src/hardcopy.c
index b2e400f90..def619f3e 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++)