a va_list always 'exists' (it's a struct). It therefore can't be NULL
(and can't be tested)
Just use the regular print variant where appropriate.
void
gst_validate_print_action (GstValidateAction * action, const gchar * message)
{
- gst_validate_printf_valist (action, message, NULL);
+ gst_validate_printf (action, "%s", message);
}
static void
}
}
- if (args)
- g_string_append_vprintf (string, format, args);
- else
- g_string_append (string, format);
+ g_string_append_vprintf (string, format, args);
if (!newline_regex)
newline_regex =