1 To: [email protected] |
|
2 Subject: Patch 7.2.171 |
|
3 Fcc: outbox |
|
4 From: Bram Moolenaar <[email protected]> |
|
5 Mime-Version: 1.0 |
|
6 Content-Type: text/plain; charset=UTF-8 |
|
7 Content-Transfer-Encoding: 8bit |
|
8 ------------ |
|
9 |
|
10 Patch 7.2.171 (after 7.2.169) |
|
11 Problem: Compiler warnings. (Tony Mechelynck) |
|
12 Solution: Add function prototype. (Patrick Texier) Init variable. |
|
13 Files: src/ex_cmds.c |
|
14 |
|
15 |
|
16 *** ../vim-7.2.170/src/ex_cmds.c 2009-05-13 18:54:14.000000000 +0200 |
|
17 --- src/ex_cmds.c 2009-05-14 21:11:01.000000000 +0200 |
|
18 *************** |
|
19 *** 4637,4643 **** |
|
20 |
|
21 if (do_ask) |
|
22 { |
|
23 ! int typed; |
|
24 |
|
25 /* change State to CONFIRM, so that the mouse works |
|
26 * properly */ |
|
27 --- 4635,4641 ---- |
|
28 |
|
29 if (do_ask) |
|
30 { |
|
31 ! int typed = 0; |
|
32 |
|
33 /* change State to CONFIRM, so that the mouse works |
|
34 * properly */ |
|
35 *************** |
|
36 *** 6553,6558 **** |
|
37 --- 6549,6555 ---- |
|
38 static sign_T *first_sign = NULL; |
|
39 static int last_sign_typenr = MAX_TYPENR; /* is decremented */ |
|
40 |
|
41 + static int sign_cmd_idx __ARGS((char_u *begin_cmd, char_u *end_cmd)); |
|
42 static void sign_list_defined __ARGS((sign_T *sp)); |
|
43 static void sign_undefine __ARGS((sign_T *sp, sign_T *sp_prev)); |
|
44 |
|
45 *************** |
|
46 *** 6579,6586 **** |
|
47 */ |
|
48 static int |
|
49 sign_cmd_idx(begin_cmd, end_cmd) |
|
50 ! char *begin_cmd; /* begin of sign subcmd */ |
|
51 ! char *end_cmd; /* just after sign subcmd */ |
|
52 { |
|
53 int idx; |
|
54 char save = *end_cmd; |
|
55 --- 6576,6583 ---- |
|
56 */ |
|
57 static int |
|
58 sign_cmd_idx(begin_cmd, end_cmd) |
|
59 ! char_u *begin_cmd; /* begin of sign subcmd */ |
|
60 ! char_u *end_cmd; /* just after sign subcmd */ |
|
61 { |
|
62 int idx; |
|
63 char save = *end_cmd; |
|
64 *** ../vim-7.2.170/src/version.c 2009-05-13 20:47:07.000000000 +0200 |
|
65 --- src/version.c 2009-05-14 21:49:22.000000000 +0200 |
|
66 *************** |
|
67 *** 678,679 **** |
|
68 --- 678,681 ---- |
|
69 { /* Add new patch number below this line */ |
|
70 + /**/ |
|
71 + 171, |
|
72 /**/ |
|
73 |
|
74 -- |
|
75 Living on Earth includes an annual free trip around the Sun. |
|
76 |
|
77 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ |
|
78 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ |
|
79 \\\ download, build and distribute -- http://www.A-A-P.org /// |
|
80 \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |
|