diff --git a/lib/regexprops.c b/lib/regexprops.c index 048315e7..fcbdd5db 100644 --- a/lib/regexprops.c +++ b/lib/regexprops.c @@ -478,12 +478,12 @@ ignore (int ix, const unsigned int context) static void menu (unsigned int context) { - int i, options; + int i; const char *name; output ("@menu\n", 0); for (i=0; - options = get_regex_type_flags (i), + get_regex_type_flags (i), name=get_regex_type_name (i); ++i) { diff --git a/lib/test_splitstring.c b/lib/test_splitstring.c index b01b6b79..0feb089e 100644 --- a/lib/test_splitstring.c +++ b/lib/test_splitstring.c @@ -196,6 +196,9 @@ static void test_consecutive_empty (void) int main (int argc, char *argv[]) { + (void) argc; /* pacify -Werror=unused-parameter */ + (void) argv; /* pacify -Werror=unused-parameter */ + test_empty (); test_onefield (); test_not_colon ();