TW-1741: Warning "ignoring return value of ‘int ftruncate" while doing make on xubuntu15.10

- Thanks to Sunil Joshi.
This commit is contained in:
Paul Beckingham 2016-01-11 15:26:15 -05:00
parent 3a3cfef0c3
commit df45c84266
2 changed files with 3 additions and 1 deletions

View file

@ -30,6 +30,8 @@
Daniel Shahaf). Daniel Shahaf).
- TW-1733 taskwarrior 2.5.0 can not compile FreeBSD 10.1 (thanks to ribbon). - 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-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-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-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 - TW-1749 PATH_MAX isn't defined in FS.cpp in some versions of OS X (thanks to

View file

@ -532,7 +532,7 @@ void File::truncate ()
open (); open ();
if (_fh) if (_fh)
ftruncate (_h, 0); (void) ftruncate (_h, 0);
} }
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////