From: Andreas Kupries Date: Fri, 25 Jan 2013 00:34:09 +0000 (-0800) Subject: Clarify the comment at the definition of IGNORE_RC. X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=9748ca80e16ca0b0260cc1bc5d50b2af15307c8b;p=linenoise.git Clarify the comment at the definition of IGNORE_RC. --- diff --git a/linenoise.c b/linenoise.c index 5e3216e..036e25e 100644 --- a/linenoise.c +++ b/linenoise.c @@ -268,7 +268,10 @@ static void linenoiseAtExit(void) { linenoiseHistoryFree(); } -/* gcc/glibc insists that we care about the return code of write! */ +/* gcc/glibc insists that we care about the return code of write! + * Clarification: This means that a void-cast like "(void) (EXPR)" + * does not work. + */ #define IGNORE_RC(EXPR) if (EXPR) {} /* This is fdprintf() on some systems, but use a different