mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-11 05:13:04 +00:00
Pacify gcc warnings.
* src/getargs.c (skeleton_arg): Pass "%s" to printf-like functions with variable format and no argument.
This commit is contained in:
@@ -370,9 +370,9 @@ skeleton_arg (char const *arg, int prio, location const *loc)
|
||||
char const *msg =
|
||||
_("multiple skeleton declarations are invalid");
|
||||
if (loc)
|
||||
complain_at (*loc, msg);
|
||||
complain_at (*loc, "%s", msg);
|
||||
else
|
||||
complain (msg);
|
||||
complain ("%s", msg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user