[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] test-select: avoid warn_unused_result warnings
From: |
Jim Meyering |
Subject: |
Re: [PATCH] test-select: avoid warn_unused_result warnings |
Date: |
Wed, 13 Oct 2010 11:27:08 +0200 |
Paolo Bonzini wrote:
> 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).
Thanks for the quick review. Pushed.