diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-12-26 14:37:44 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-12-26 14:37:44 +0000 |
commit | b536540ab3c13db629432c411e92c05c4a3808ba (patch) | |
tree | ee9fd0ed572ed62e03e2794f9eeba94c4cbc13ce | |
parent | d0883faac6a74f777c9a6be9d035c59ee1c969c5 (diff) |
patch 9.0.1101: unused global variablev9.0.1101
Problem: Unused global variable.
Solution: Remove the variable. (closes #11752)
-rw-r--r-- | src/globals.h | 3 | ||||
-rw-r--r-- | src/main.c | 1 | ||||
-rw-r--r-- | src/version.c | 2 |
3 files changed, 2 insertions, 4 deletions
diff --git a/src/globals.h b/src/globals.h index 1090f35895..fd5a0cb020 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 41a509d63a..0299c61a79 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 e8ea9f54f4..d379aa9988 100644 --- 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, |