utils: Add some attributes and reorganize code to fix compiler warnings
authorSebastian Dröge <sebastian@centricular.com>
Wed, 30 Oct 2013 20:53:36 +0000 (21:53 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 30 Oct 2013 20:53:36 +0000 (21:53 +0100)
commit7e5dc030f5e39998169166a8b1a734f3bf7efc62
tree727c4c33646b39fb56b545bd1119f4c4b8316e40
parentc76aaaaa1d3b9e33846ef2d07af3bcb3accef5c1
utils: Add some attributes and reorganize code to fix compiler warnings

gstutils.c:3659:41: error: format string is not a string literal
[-Werror,-Wformat-nonliteral]
    gchar *expanded = g_strdup_vprintf (stream_id, var_args);

https://bugzilla.gnome.org/show_bug.cgi?id=710621
gst/gstutils.c
gst/gstutils.h