gst-inspect: Make clang happy with our g_vprintf() wrapper

This commit is contained in:
Sebastian Dröge 2014-02-08 16:42:55 +01:00
parent 043c629e72
commit 53d8460bfd

View file

@ -40,6 +40,9 @@ static char *_name = NULL;
static int print_element_info (GstElementFactory * factory,
gboolean print_names);
/* *INDENT-OFF* */
G_GNUC_PRINTF (1, 2)
/* *INDENT-ON* */
static void
n_print (const char *format, ...)
{
@ -694,8 +697,6 @@ print_pad_info (GstElement * element)
pad = GST_PAD (pads->data);
pads = g_list_next (pads);
n_print ("");
name = gst_pad_get_name (pad);
if (gst_pad_get_direction (pad) == GST_PAD_SRC)
g_print (" SRC: '%s'", name);