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:
Akim Demaille
2010-07-21 18:10:50 +02:00
parent 31f8b787c0
commit a151f354cf
2 changed files with 8 additions and 2 deletions

View File

@@ -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.

View File

@@ -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);
}
}