]>
Commit | Line | Data |
---|---|---|
f5a1442d ER |
1 | To: vim_dev@googlegroups.com |
2 | Subject: Patch 7.3.045 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=UTF-8 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 7.3.045 | |
11 | Problem: Compiler warning for uninitialized variable. | |
12 | Solution: Initialize the variable always. | |
13 | Files: src/getchar.c | |
14 | ||
15 | ||
16 | *** ../vim-7.3.044/src/getchar.c 2010-10-27 12:17:54.000000000 +0200 | |
17 | --- src/getchar.c 2010-10-27 17:28:45.000000000 +0200 | |
18 | *************** | |
19 | *** 3290,3298 **** | |
20 | */ | |
21 | if (haskey) | |
22 | keys = replace_termcodes(keys, &keys_buf, TRUE, TRUE, special); | |
23 | if (hasarg) | |
24 | { | |
25 | - orig_rhs = rhs; | |
26 | if (STRICMP(rhs, "<nop>") == 0) /* "<Nop>" means nothing */ | |
27 | rhs = (char_u *)""; | |
28 | else | |
29 | --- 3290,3298 ---- | |
30 | */ | |
31 | if (haskey) | |
32 | keys = replace_termcodes(keys, &keys_buf, TRUE, TRUE, special); | |
33 | + orig_rhs = rhs; | |
34 | if (hasarg) | |
35 | { | |
36 | if (STRICMP(rhs, "<nop>") == 0) /* "<Nop>" means nothing */ | |
37 | rhs = (char_u *)""; | |
38 | else | |
39 | *** ../vim-7.3.044/src/version.c 2010-10-27 17:11:11.000000000 +0200 | |
40 | --- src/version.c 2010-10-27 17:30:11.000000000 +0200 | |
41 | *************** | |
42 | *** 716,717 **** | |
43 | --- 716,719 ---- | |
44 | { /* Add new patch number below this line */ | |
45 | + /**/ | |
46 | + 45, | |
47 | /**/ | |
48 | ||
49 | -- | |
50 | MARTHA'S WAY: Don't throw out all that leftover wine. Freeze into ice cubes | |
51 | for future use in casseroles and sauces. | |
52 | MY WAY: What leftover wine? | |
53 | ||
54 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
55 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
56 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
57 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |