mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 20:33:03 +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:
@@ -1,3 +1,9 @@
|
||||
2010-07-21 Akim Demaille <demaille@gostai.com>
|
||||
|
||||
Pacify gcc warnings.
|
||||
* src/getargs.c (skeleton_arg): Pass "%s" to printf-like functions
|
||||
with variable format and no argument.
|
||||
|
||||
2010-06-17 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
Update from GFDL GFDL 1.2 to 1.3.
|
||||
|
||||
@@ -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