From 83968bbe1a187daac2dd16e22529525459cbab21 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 8 Apr 2012 00:52:50 -0400 Subject: regex: silence set-but-unused warnings Signed-off-by: Mike Frysinger --- libc/misc/regex/regex_old.c | 4 ++++ 1 file changed, 4 insertions(+) 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. */ -- cgit v1.2.3