[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: |
Bruno Haible |
Subject: |
Re: [PATCH] test-select: avoid warn_unused_result warnings |
Date: |
Sat, 25 Dec 2010 17:16:34 +0100 |
User-agent: |
KMail/1.9.9 |
Jim Meyering wrote:
> That should be ok, assuming no modern version of gcc
> warns about the unused value, in spite of the "(void)" cast.
Yes, this is the case, because close() is not marked as __wur
in glibc's <unistd.h>.
Bruno