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 -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20221226143948.69E711C0AA3%40moolenaar.net.