0
0
mirror of https://github.com/vim/vim.git synced 2025-09-30 04:44:14 -04:00

patch 9.0.1101: unused global variable

Problem:    Unused global variable.
Solution:   Remove the variable. (closes #11752)
This commit is contained in:
Bram Moolenaar
2022-12-26 14:37:44 +00:00
parent d0883faac6
commit b536540ab3
3 changed files with 2 additions and 4 deletions

View File

@@ -1905,9 +1905,6 @@ EXTERN char need_key_msg[] INIT(= N_("Need encryption key for \"%s\""));
EXTERN int xsmp_icefd INIT(= -1); // The actual connection EXTERN int xsmp_icefd INIT(= -1); // The actual connection
#endif #endif
// For undo we need to know the lowest time possible.
EXTERN time_T starttime;
#ifdef STARTUPTIME #ifdef STARTUPTIME
EXTERN FILE *time_fd INIT(= NULL); // where to write startup timing EXTERN FILE *time_fd INIT(= NULL); // where to write startup timing
#endif #endif

View File

@@ -158,7 +158,6 @@ main
# endif # endif
} }
#endif #endif
starttime = time(NULL);
#ifdef CLEAN_RUNTIMEPATH #ifdef CLEAN_RUNTIMEPATH
// Need to find "--clean" before actually parsing arguments. // Need to find "--clean" before actually parsing arguments.

View File

@@ -695,6 +695,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1101,
/**/ /**/
1100, 1100,
/**/ /**/