diff --git a/ChangeLog b/ChangeLog index 8173c9073..8672f42dd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -30,6 +30,8 @@ Daniel Shahaf). - TW-1733 taskwarrior 2.5.0 can not compile FreeBSD 10.1 (thanks to ribbon). - TW-1738 add defined languages JAPANESE (thanks to ribbon). +- TW-1741 Warning "ignoring return value of ‘int ftruncate" while doing make on + xubuntu15.10 (thanks to Sunil Joshi). - TW-1742 Indian Holiday Calendar (Master HolidayFile) (thanks to Sunil Joshi). - TW-1748 CMakeLists shouldn't hardcode libc++ on Darwin (thanks to Misty De Meo). - TW-1749 PATH_MAX isn't defined in FS.cpp in some versions of OS X (thanks to diff --git a/src/FS.cpp b/src/FS.cpp index e0bb57ad2..f7589d907 100644 --- a/src/FS.cpp +++ b/src/FS.cpp @@ -532,7 +532,7 @@ void File::truncate () open (); if (_fh) - ftruncate (_h, 0); + (void) ftruncate (_h, 0); } ////////////////////////////////////////////////////////////////////////////////