|
Karsten Hopp |
c13ccf |
To: vim-dev@vim.org
|
|
Karsten Hopp |
c13ccf |
Subject: Patch 7.0.064
|
|
Karsten Hopp |
c13ccf |
Fcc: outbox
|
|
Karsten Hopp |
c13ccf |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
c13ccf |
Mime-Version: 1.0
|
|
Karsten Hopp |
c13ccf |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
c13ccf |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
c13ccf |
------------
|
|
Karsten Hopp |
c13ccf |
|
|
Karsten Hopp |
c13ccf |
Patch 7.0.064
|
|
Karsten Hopp |
c13ccf |
Problem: Using uninitialized variable. (Tony Mechelynck)
|
|
Karsten Hopp |
c13ccf |
Solution: When not used set "temp" to zero. Also avoid a warning for
|
|
Karsten Hopp |
c13ccf |
"files" in ins_compl_dictionaries().
|
|
Karsten Hopp |
c13ccf |
Files: src/edit.c
|
|
Karsten Hopp |
c13ccf |
|
|
Karsten Hopp |
c13ccf |
|
|
Karsten Hopp |
c13ccf |
*** ../vim-7.0.063/src/edit.c Wed Aug 16 21:26:19 2006
|
|
Karsten Hopp |
c13ccf |
--- src/edit.c Thu Aug 17 22:28:34 2006
|
|
Karsten Hopp |
c13ccf |
***************
|
|
Karsten Hopp |
c13ccf |
*** 2760,2765 ****
|
|
Karsten Hopp |
c13ccf |
--- 2760,2766 ----
|
|
Karsten Hopp |
c13ccf |
}
|
|
Karsten Hopp |
c13ccf |
else
|
|
Karsten Hopp |
c13ccf |
# endif
|
|
Karsten Hopp |
c13ccf |
+ if (count > 0) /* avoid warning for using "files" uninit */
|
|
Karsten Hopp |
c13ccf |
{
|
|
Karsten Hopp |
c13ccf |
ins_compl_files(count, files, thesaurus, flags,
|
|
Karsten Hopp |
c13ccf |
®match, buf, &dir;;
|
|
Karsten Hopp |
c13ccf |
***************
|
|
Karsten Hopp |
c13ccf |
*** 3222,3228 ****
|
|
Karsten Hopp |
c13ccf |
int c;
|
|
Karsten Hopp |
c13ccf |
{
|
|
Karsten Hopp |
c13ccf |
char_u *ptr;
|
|
Karsten Hopp |
c13ccf |
- int temp;
|
|
Karsten Hopp |
c13ccf |
int want_cindent;
|
|
Karsten Hopp |
c13ccf |
int retval = FALSE;
|
|
Karsten Hopp |
c13ccf |
|
|
Karsten Hopp |
c13ccf |
--- 3223,3228 ----
|
|
Karsten Hopp |
c13ccf |
***************
|
|
Karsten Hopp |
c13ccf |
*** 3378,3383 ****
|
|
Karsten Hopp |
c13ccf |
--- 3378,3384 ----
|
|
Karsten Hopp |
c13ccf |
if (compl_curr_match != NULL || compl_leader != NULL || c == Ctrl_E)
|
|
Karsten Hopp |
c13ccf |
{
|
|
Karsten Hopp |
c13ccf |
char_u *p;
|
|
Karsten Hopp |
c13ccf |
+ int temp = 0;
|
|
Karsten Hopp |
c13ccf |
|
|
Karsten Hopp |
c13ccf |
/*
|
|
Karsten Hopp |
c13ccf |
* If any of the original typed text has been changed, eg when
|
|
Karsten Hopp |
c13ccf |
*** ../vim-7.0.063/src/version.c Wed Aug 16 22:03:35 2006
|
|
Karsten Hopp |
c13ccf |
--- src/version.c Tue Aug 22 19:56:05 2006
|
|
Karsten Hopp |
c13ccf |
***************
|
|
Karsten Hopp |
c13ccf |
*** 668,669 ****
|
|
Karsten Hopp |
c13ccf |
--- 668,671 ----
|
|
Karsten Hopp |
c13ccf |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
c13ccf |
+ /**/
|
|
Karsten Hopp |
c13ccf |
+ 64,
|
|
Karsten Hopp |
c13ccf |
/**/
|
|
Karsten Hopp |
c13ccf |
|
|
Karsten Hopp |
c13ccf |
--
|
|
Karsten Hopp |
c13ccf |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
c13ccf |
200. You really believe in the concept of a "paperless" office.
|
|
Karsten Hopp |
c13ccf |
|
|
Karsten Hopp |
c13ccf |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
c13ccf |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
c13ccf |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
c13ccf |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|