diff --git a/src/fileio.c b/src/fileio.c index e76e3d19aa..2c5c8b9b4a 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -4517,7 +4517,7 @@ restore_backup: #endif #ifdef HAVE_FTRUNCATE if (!append) - ftruncate(fd, (off_t)0); + ignored = ftruncate(fd, (off_t)0); #endif #if defined(WIN3264) diff --git a/src/version.c b/src/version.c index c07635c3b0..276f4fba00 100644 --- a/src/version.c +++ b/src/version.c @@ -766,6 +766,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1307, /**/ 1306, /**/