[REGEX_FREE]: Use ((void)0) instead of just (0).
authorJim Meyering <jim@meyering.net>
Sun, 21 May 1995 06:19:05 +0000 (06:19 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 21 May 1995 06:19:05 +0000 (06:19 +0000)
regex.c

diff --git a/regex.c b/regex.c
index 5a6d3a157dc9816d7f0d7767f2ada00710f61ee5..5a98c6c21aa118201fff9200b76b3f2c7a795d31 100644 (file)
--- a/regex.c
+++ b/regex.c
@@ -243,7 +243,7 @@ char *alloca ();
    destination)
 
 /* No need to do anything to free, after alloca.  */
-#define REGEX_FREE(arg) (0)
+#define REGEX_FREE(arg) ((void)0) /* Do nothing!  But inhibit gcc warning.  */
 
 #endif /* not REGEX_MALLOC */