ScriptFu: fix compiler warning "format string is not a string literal"
This commit is contained in:

committed by
Lloyd Konneker

parent
653cca0993
commit
b7376a57a7
@ -516,7 +516,7 @@ script_fu_arg_add_argument (SFArg *arg,
|
|||||||
static void
|
static void
|
||||||
sf_append_file_error_repr (gchar *err_message, GString *result_string )
|
sf_append_file_error_repr (gchar *err_message, GString *result_string )
|
||||||
{
|
{
|
||||||
g_warning (err_message);
|
g_warning ("%s", err_message);
|
||||||
/* Represent unknown file by literal for empty string: "" */
|
/* Represent unknown file by literal for empty string: "" */
|
||||||
g_string_append_printf (result_string, "\"\"");
|
g_string_append_printf (result_string, "\"\"");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user