Package: libdfp / 1.0.13-1

Metadata

Package Version Patches format
libdfp 1.0.13-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
08f4e408a8767378832a506457c836802669ab2c.patch | (download)

tests/test-amort.c | 11 10 + 1 - 0 !
1 file changed, 10 insertions(+), 1 deletion(-)

 [patch] fix -wunused-result warning message in test-amort.c
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This patch gets rid of the following message during "make check":

./tests/test-amort.c: In function ‘main’:
./tests/test-amort.c:327:9: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
   fread (inputs, sizeof (inputtype), numinputs, inputfile);
         ^

Fixes issue https://github.com/libdfp/libdfp/issues/42

Signed-off-by: Murilo Opsfelder Araujo <muriloo@linux.vnet.ibm.com>