From 9748ca80e16ca0b0260cc1bc5d50b2af15307c8b Mon Sep 17 00:00:00 2001 From: Andreas Kupries Date: Thu, 24 Jan 2013 16:34:09 -0800 Subject: [PATCH] Clarify the comment at the definition of IGNORE_RC. --- linenoise.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.44.0