Re: [LEDE-DEV] [PATCH uclient v2] Fix unused results warnings

2016-12-05 Thread Felix Fietkau
On 2016-12-05 00:15, Florian Fainelli wrote: > Fixes: > > uclient-http.c:385:8: error: ignoring return value of 'fread', declared with > attribute warn_unused_result [-Werror=unused-result] >fread(&val, sizeof(val), 1, f); > ^ > > uclient-fetch.c: In function 'main': > uclient-fetch.

[LEDE-DEV] [PATCH uclient v2] Fix unused results warnings

2016-12-04 Thread Florian Fainelli
Fixes: uclient-http.c:385:8: error: ignoring return value of 'fread', declared with attribute warn_unused_result [-Werror=unused-result] fread(&val, sizeof(val), 1, f); ^ uclient-fetch.c: In function 'main': uclient-fetch.c:664:12: error: ignoring return value of 'asprintf', declared