summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/fileio.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
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
@@ -767,6 +767,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1307,
+/**/
1306,
/**/
1305,