Patch 8.2.5065

5 views
Skip to first unread message

Bram Moolenaar

unread,
Jun 6, 2022, 5:16:47 PM6/6/22
to vim...@googlegroups.com

Patch 8.2.5065
Problem: Wrong return type for main() in tee.c.
Solution: Use "int" instead of "void". Remove unused variable.
Files: src/tee/tee.c


*** ../vim-8.2.5064/src/tee/tee.c 2020-07-10 19:45:28.345404098 +0100
--- src/tee/tee.c 2022-06-06 22:15:49.334656992 +0100
***************
*** 78,89 ****
}


! void
main(int argc, char *argv[])
{
int append = 0;
int numfiles;
- int opt;
int maxfiles;
FILE **filepointers;
int i;
--- 78,88 ----
}


! int
main(int argc, char *argv[])
{
int append = 0;
int numfiles;
int maxfiles;
FILE **filepointers;
int i;
*** ../vim-8.2.5064/src/version.c 2022-06-06 16:22:42.849514745 +0100
--- src/version.c 2022-06-06 22:15:53.706656103 +0100
***************
*** 736,737 ****
--- 736,739 ----
{ /* Add new patch number below this line */
+ /**/
+ 5065,
/**/

--
TALL KNIGHT: Firstly. You must get us another shrubbery!
OTHER KNIGHTS: More shrubberies! More shrubberies for the ex-Knights of Ni!
ARTHUR: Not another shrubbery -
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages