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

2016-12-04 Thread Florian Fainelli
Le 12/04/16 à 07:14, John Crispin a écrit : > > > On 03/12/2016 18:58, 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); >> ^ >

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

2016-12-04 Thread John Crispin
On 03/12/2016 18:58, 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-fetc

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

2016-12-03 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