| To: vim_dev@googlegroups.com |
| Subject: Patch 7.4.216 |
| Fcc: outbox |
| From: Bram Moolenaar <Bram@moolenaar.net> |
| Mime-Version: 1.0 |
| Content-Type: text/plain; charset=UTF-8 |
| Content-Transfer-Encoding: 8bit |
| |
| |
| Patch 7.4.216 |
| Problem: Compiler warnings. (Tony Mechelynck) |
| Solution: Initialize variables, add #ifdef. |
| Files: src/term.c, src/os_unix.h |
| |
| |
| |
| |
| |
| *** 4185,4191 **** |
| { |
| #ifdef FEAT_MBYTE |
| int col; |
| ! int row_char; |
| #endif |
| j = 0; |
| extra = 0; |
| --- 4185,4191 ---- |
| { |
| #ifdef FEAT_MBYTE |
| int col; |
| ! int row_char = NUL; |
| #endif |
| j = 0; |
| extra = 0; |
| |
| |
| |
| *** 565,571 **** |
| # endif |
| #endif |
| |
| ! #define HAVE_DUP /* have dup() */ |
| #define HAVE_ST_MODE /* have stat.st_mode */ |
| |
| /* We have three kinds of ACL support. */ |
| --- 565,573 ---- |
| # endif |
| #endif |
| |
| ! #ifndef HAVE_DUP |
| ! # define HAVE_DUP /* have dup() */ |
| ! #endif |
| #define HAVE_ST_MODE /* have stat.st_mode */ |
| |
| /* We have three kinds of ACL support. */ |
| |
| |
| |
| *** 736,737 **** |
| --- 736,739 ---- |
| { /* Add new patch number below this line */ |
| + /**/ |
| + 216, |
| /**/ |
| |
| -- |
| Hacker: Someone skilled in computer programming (good guy). |
| Cracker: A hacker that uses his skills to crack software (bad guy). |
| |
| /// 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 /// |