equal
deleted
inserted
replaced
1 To: [email protected] |
|
2 Subject: Patch 7.2.197 |
|
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.197 |
|
11 Problem: Warning for uninitialized values. |
|
12 Solution: Initialize all the struct items of typebuf. |
|
13 Files: src/globals.h |
|
14 |
|
15 |
|
16 *** ../vim-7.2.196/src/globals.h 2009-05-13 12:46:36.000000000 +0200 |
|
17 --- src/globals.h 2009-06-10 15:52:18.000000000 +0200 |
|
18 *************** |
|
19 *** 960,966 **** |
|
20 ; |
|
21 EXTERN typebuf_T typebuf /* typeahead buffer */ |
|
22 #ifdef DO_INIT |
|
23 ! = {NULL, NULL} |
|
24 #endif |
|
25 ; |
|
26 #ifdef FEAT_EX_EXTRA |
|
27 --- 967,973 ---- |
|
28 ; |
|
29 EXTERN typebuf_T typebuf /* typeahead buffer */ |
|
30 #ifdef DO_INIT |
|
31 ! = {NULL, NULL, 0, 0, 0, 0, 0, 0, 0} |
|
32 #endif |
|
33 ; |
|
34 #ifdef FEAT_EX_EXTRA |
|
35 *** ../vim-7.2.196/src/version.c 2009-06-03 22:07:38.000000000 +0200 |
|
36 --- src/version.c 2009-06-10 18:14:58.000000000 +0200 |
|
37 *************** |
|
38 *** 678,679 **** |
|
39 --- 678,681 ---- |
|
40 { /* Add new patch number below this line */ |
|
41 + /**/ |
|
42 + 197, |
|
43 /**/ |
|
44 |
|
45 -- |
|
46 hundred-and-one symptoms of being an internet addict: |
|
47 18. Your wife drapes a blond wig over your monitor to remind you of what she |
|
48 looks like. |
|
49 |
|
50 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ |
|
51 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ |
|
52 \\\ download, build and distribute -- http://www.A-A-P.org /// |
|
53 \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |
|