| To: vim_dev@googlegroups.com |
| Subject: Patch 7.3.045 |
| 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.3.045 |
| Problem: Compiler warning for uninitialized variable. |
| Solution: Initialize the variable always. |
| Files: src/getchar.c |
| |
| |
| |
| |
| |
| *** 3290,3298 **** |
| */ |
| if (haskey) |
| keys = replace_termcodes(keys, &keys_buf, TRUE, TRUE, special); |
| if (hasarg) |
| { |
| - orig_rhs = rhs; |
| if (STRICMP(rhs, "<nop>") == 0) /* "<Nop>" means nothing */ |
| rhs = (char_u *)""; |
| else |
| --- 3290,3298 ---- |
| */ |
| if (haskey) |
| keys = replace_termcodes(keys, &keys_buf, TRUE, TRUE, special); |
| + orig_rhs = rhs; |
| if (hasarg) |
| { |
| if (STRICMP(rhs, "<nop>") == 0) /* "<Nop>" means nothing */ |
| rhs = (char_u *)""; |
| else |
| |
| |
| |
| *** 716,717 **** |
| --- 716,719 ---- |
| { /* Add new patch number below this line */ |
| + /**/ |
| + 45, |
| /**/ |
| |
| -- |
| MARTHA'S WAY: Don't throw out all that leftover wine. Freeze into ice cubes |
| for future use in casseroles and sauces. |
| MY WAY: What leftover wine? |
| |
| /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ |
| /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ |
| \\\ download, build and distribute -- http://www.A-A-P.org /// |
| \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |