Patch 9.0.1101

4 views
Skip to first unread message

Bram Moolenaar

unread,
Dec 26, 2022, 9:39:55 AM12/26/22
to vim...@googlegroups.com

Patch 9.0.1101
Problem: Unused global variable.
Solution: Remove the variable. (closes #11752)
Files: src/globals.h, src/main.c


*** ../vim-9.0.1100/src/globals.h 2022-12-16 18:33:16.349960064 +0000
--- src/globals.h 2022-12-26 14:26:39.539544684 +0000
***************
*** 1905,1913 ****
EXTERN int xsmp_icefd INIT(= -1); // The actual connection
#endif

- // For undo we need to know the lowest time possible.
- EXTERN time_T starttime;
-
#ifdef STARTUPTIME
EXTERN FILE *time_fd INIT(= NULL); // where to write startup timing
#endif
--- 1905,1910 ----
*** ../vim-9.0.1100/src/main.c 2022-12-05 13:50:49.718052362 +0000
--- src/main.c 2022-12-26 14:26:05.655635895 +0000
***************
*** 158,164 ****
# endif
}
#endif
- starttime = time(NULL);

#ifdef CLEAN_RUNTIMEPATH
// Need to find "--clean" before actually parsing arguments.
--- 158,163 ----
*** ../vim-9.0.1100/src/version.c 2022-12-26 13:51:22.169286655 +0000
--- src/version.c 2022-12-26 14:27:54.371343256 +0000
***************
*** 697,698 ****
--- 697,700 ----
{ /* Add new patch number below this line */
+ /**/
+ 1101,
/**/

--
Save the plankton - eat a whale.

/// 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