summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-06-03 16:40:03 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-06-03 16:40:03 +0000
commitfd3f0ae2eb3d54d08e1e42a7b715a312f9a9efda (patch)
tree0a685d47926ff3a1f65f64e909eb2c94e7b598ca
parentb318f128c9ad9b063fab23e327dabb8d75800a49 (diff)
downloadperl-fd3f0ae2eb3d54d08e1e42a7b715a312f9a9efda.tar.gz
One less -Wall whine.
p4raw-id: //depot/perl@10406
-rw-r--r--regcomp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regcomp.c b/regcomp.c
index cb2bce0a3f..6f807aa02d 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -429,7 +429,7 @@ static scan_data_t zero_scan_data = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
/* Allow for side effects in s */
-#define REGC(c,s) STMT_START { if (!SIZE_ONLY) *(s) = (c); else (s);} STMT_END
+#define REGC(c,s) STMT_START { if (!SIZE_ONLY) *(s) = (c); else (void)(s);} STMT_END
/* Macros for recording node offsets. 20001227 mjd@plover.com
* Nodes are numbered 1, 2, 3, 4. Node #n's position is recorded in