# HG changeset patch # User Bram Moolenaar # Date 1672065903 -3600 # Node ID 91924f1b59af5f78bcdf22f58e4e4ab396eb8e22 # Parent 9de9b581f328997b83aebc8268ce24ec86cfab41 patch 9.0.1101: unused global variable Commit: https://github.com/vim/vim/commit/b536540ab3c13db629432c411e92c05c4a3808ba Author: Bram Moolenaar Date: Mon Dec 26 14:37:44 2022 +0000 patch 9.0.1101: unused global variable Problem: Unused global variable. Solution: Remove the variable. (closes https://github.com/vim/vim/issues/11752) diff --git a/src/globals.h b/src/globals.h --- a/src/globals.h +++ b/src/globals.h @@ -1905,9 +1905,6 @@ EXTERN char need_key_msg[] INIT(= N_("N 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 diff --git a/src/main.c b/src/main.c --- a/src/main.c +++ b/src/main.c @@ -158,7 +158,6 @@ main # endif } #endif - starttime = time(NULL); #ifdef CLEAN_RUNTIMEPATH // Need to find "--clean" before actually parsing arguments. diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -696,6 +696,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1101, +/**/ 1100, /**/ 1099,