summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-04-08 00:52:50 -0400
committerMike Frysinger <vapier@gentoo.org>2012-04-08 00:52:50 -0400
commit83968bbe1a187daac2dd16e22529525459cbab21 (patch)
treecbb0f5a5db06832af2d1421fcc2ed4a727536770 /libc
parent2e9c1dc78eedd055b5db779aadf0d09cf70c6710 (diff)
regex: silence set-but-unused warnings
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'libc')
-rw-r--r--libc/misc/regex/regex_old.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/misc/regex/regex_old.c b/libc/misc/regex/regex_old.c
index acf81a319..bee6434fd 100644
--- a/libc/misc/regex/regex_old.c
+++ b/libc/misc/regex/regex_old.c
@@ -7212,6 +7212,10 @@ byte_re_match_2_internal (
POP_FAILURE_POINT (sdummy, pdummy,
dummy_low_reg, dummy_high_reg,
reg_dummy, reg_dummy, reg_info_dummy);
+
+ /* Silence 'set but not used' warnings. */
+ (void) pdummy;
+ (void) sdummy;
}
/* Note fall through. */