mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
TW-1741: Warning "ignoring return value of ‘int ftruncate" while doing make on xubuntu15.10
- Thanks to Sunil Joshi.
This commit is contained in:
parent
3a3cfef0c3
commit
df45c84266
2 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
|
|
@ -532,7 +532,7 @@ void File::truncate ()
|
||||||
open ();
|
open ();
|
||||||
|
|
||||||
if (_fh)
|
if (_fh)
|
||||||
ftruncate (_h, 0);
|
(void) ftruncate (_h, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue