mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +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
|
@ -532,7 +532,7 @@ void File::truncate ()
|
|||
open ();
|
||||
|
||||
if (_fh)
|
||||
ftruncate (_h, 0);
|
||||
(void) ftruncate (_h, 0);
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue