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/hardcopy.c | |
parent | ba172f2eabd3f8a98a797be6721229b49783ef69 (diff) | |
download | vim-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.c | 2 |
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++) |