To: vim_dev@googlegroups.com Subject: Patch 7.4.1534 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 7.4.1534 Problem: Compiler warning for shadowed variable. (Kazunobu Kuriyama) Solution: Rename it. Files: src/eval.c *** ../vim-7.4.1533/src/eval.c 2016-03-10 22:19:40.880775414 +0100 --- src/eval.c 2016-03-11 18:50:42.066793714 +0100 *************** *** 15197,15209 **** return; if (buf->b_ml.ml_mfp == NULL) { ! char_u buf[NUMBUFLEN]; char_u *s; if (opt.jo_set & JO_IN_BUF) { ! sprintf((char *)buf, "%d", opt.jo_io_buf[PART_IN]); ! s = buf; } else s = opt.jo_io_name[PART_IN]; --- 15197,15209 ---- return; if (buf->b_ml.ml_mfp == NULL) { ! char_u numbuf[NUMBUFLEN]; char_u *s; if (opt.jo_set & JO_IN_BUF) { ! sprintf((char *)numbuf, "%d", opt.jo_io_buf[PART_IN]); ! s = numbuf; } else s = opt.jo_io_name[PART_IN]; *** ../vim-7.4.1533/src/version.c 2016-03-10 22:19:40.880775414 +0100 --- src/version.c 2016-03-11 18:51:18.798414625 +0100 *************** *** 745,746 **** --- 745,748 ---- { /* Add new patch number below this line */ + /**/ + 1534, /**/ -- How To Keep A Healthy Level Of Insanity: 4. Put your garbage can on your desk and label it "in". /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///