tweaks: avoid a compiler warning when compiling with more than -O1

master
Benno Schulenberg 2020-09-11 18:59:04 +02:00
parent ba47abb473
commit ba049fcaf8
1 changed files with 2 additions and 1 deletions

View File

@ -1556,10 +1556,11 @@ int copy_file(FILE *inn, FILE *out, bool close_out)
bool make_backup_of(char *realname)
{
FILE *original = NULL, *backup_file = NULL;
int creation_flags, descriptor, verdict;
static struct timespec filetime[2];
int creation_flags, descriptor;
bool second_attempt = FALSE;
char *backupname = NULL;
int verdict = 0;
/* Remember the original file's access and modification times. */
filetime[0].tv_sec = openfile->statinfo->st_atime;