bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] test-select: avoid warn_unused_result warnings


From: Paolo Bonzini
Subject: Re: [PATCH] test-select: avoid warn_unused_result warnings
Date: Wed, 13 Oct 2010 10:38:49 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100907 Fedora/3.1.3-1.fc13 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.3

On 10/13/2010 10:19 AM, Jim Meyering wrote:
Hi Paolo,

Is this change ok with you?
Without it, I see many warnings like this when running
coreutils's "make check" (with --enable-gcc-warnings):

     test-select.c: In function 'test_pair':
     test-select.c:330: warning: ignoring return value of 'write', declared \
       with attribute warn_unused_result
     test-select.c:336: warning: ignoring return value of 'read', declared \
       with attribute warn_unused_result

Sure, thanks (and the addendum too).

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]