ScriptFu: fix compiler warning "format string is not a string literal"

This commit is contained in:
lloyd konneker
2024-09-20 06:30:00 -04:00
committed by Lloyd Konneker
parent 653cca0993
commit b7376a57a7

View File

@ -516,7 +516,7 @@ script_fu_arg_add_argument (SFArg *arg,
static void
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: "" */
g_string_append_printf (result_string, "\"\"");
}