vim-patch:9.0.1101: unused global variable (#21549)

Problem:    Unused global variable.
Solution:   Remove the variable. (closes vim/vim#11752)

b536540ab3

Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
zeertzjq 2022-12-27 06:19:39 +08:00 committed by GitHub
parent fe5665be3b
commit dae2135849
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 5 deletions

View File

@ -1039,9 +1039,6 @@ EXTERN char bot_top_msg[] INIT(= N_("search hit BOTTOM, continuing at TOP"));
EXTERN char line_msg[] INIT(= N_(" line "));
// For undo we need to know the lowest time possible.
EXTERN time_t starttime;
EXTERN FILE *time_fd INIT(= NULL); // where to write startup timing
// Some compilers warn for not using a return value, but in some situations we

View File

@ -1406,8 +1406,6 @@ static void init_startuptime(mparm_T *paramp)
break;
}
}
starttime = time(NULL);
}
static void check_and_set_isatty(mparm_T *paramp)