From: Bram Moolenaar Date: Mon, 26 Dec 2022 14:37:44 +0000 (+0000) Subject: patch 9.0.1101: unused global variable X-Git-Tag: v9.0.1101 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b536540ab3c13db629432c411e92c05c4a3808ba;p=vim patch 9.0.1101: unused global variable Problem: Unused global variable. Solution: Remove the variable. (closes #11752) --- diff --git a/src/globals.h b/src/globals.h index 1090f3589..fd5a0cb02 100644 --- a/src/globals.h +++ b/src/globals.h @@ -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 #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 index 41a509d63..0299c61a7 100644 --- 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 index e8ea9f54f..d379aa998 100644 --- a/src/version.c +++ b/src/version.c @@ -695,6 +695,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1101, /**/ 1100, /**/