[PATCH] uemis-downloader.c: fix some read() and write() warnings
Lubomir I. Ivanov
neolit123 at gmail.com
Wed Oct 9 07:14:06 UTC 2013
On 9 October 2013 17:10, Dirk Hohndel <dirk at hohndel.org> wrote:
>
> Well, this patch is one of those examples where I think fixing the
> warnings is just stupid. You are just moving the same issue (in this
> code I really don't care about the result of read) to a different spot
> where the compiler doesn't notice. You now have all these ret variables
> that get set and then ignored. There is another warning that we could
> turn on that will then complain about that :-)
>
perhaps we should add "-Wno-unused-result" then.
lubomir
--
More information about the subsurface
mailing list