[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] binary-io: always define SET_BINARY as an expression
From: |
Ben Pfaff |
Subject: |
Re: [PATCH] binary-io: always define SET_BINARY as an expression |
Date: |
Thu, 24 Dec 2009 11:00:37 -0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Jim Meyering <address@hidden> writes:
> -# define SET_BINARY(fd) /* nothing */
> +# define SET_BINARY(fd) 0
For me, with -Wall, plain 0 as a statement provokes a warning
"statement with no effect", but writing (void) 0 suppresses that
warning.
--
Ben Pfaff
http://benpfaff.org