From b536540ab3c13db629432c411e92c05c4a3808ba Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 26 Dec 2022 14:37:44 +0000 Subject: [PATCH] patch 9.0.1101: unused global variable Problem: Unused global variable. Solution: Remove the variable. (closes #11752) --- src/globals.h | 3 --- src/main.c | 1 - src/version.c | 2 ++ 3 files changed, 2 insertions(+), 4 deletions(-) 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, /**/ -- 2.40.0