You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Comment by Dmitriy Morozov Saturday Feb 21, 2015 at 17:30 GMT
Hm, we could get rid of this by pretending that we are using the return value. Or we could actually use it properly, and report an error if something goes wrong. I guess the second way is preferable. I'll fix this at some point (but probably not today).
Issue by Tom Peterka
Saturday Feb 21, 2015 at 17:26 GMT
gcc warns about unused return values in following lines
/homes/tpeterka/software/diy2/include/diy/io/block.hpp:57:9: warning: ignoring return value of int truncate(const char*, __off_t)
/homes/tpeterka/software/diy2/include/diy/storage.hpp:80:41: warning: ignoring return value of ssize_t read(int, void*, size_t)
/homes/tpeterka/software/diy2/include/diy/storage.hpp:45:37: warning: ignoring return value of ssize_t write(int, const void*, size_t)
The text was updated successfully, but these errors were encountered: