]> git.lizzy.rs Git - linenoise.git/commitdiff
Clarify the comment at the definition of IGNORE_RC.
authorAndreas Kupries <akupries@shaw.ca>
Fri, 25 Jan 2013 00:34:09 +0000 (16:34 -0800)
committerAndreas Kupries <akupries@shaw.ca>
Fri, 25 Jan 2013 00:34:09 +0000 (16:34 -0800)
linenoise.c

index 5e3216e4591d719df286f4ce4c886fcb17232cce..036e25ed4c645a3d8d9ae041dfc5c590b760a8b0 100644 (file)
@@ -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