mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-15 22:01:27 +00:00
check: fix 'format string is not a string literal' warning with clang
Broke this when I removed the G_GNUC_PRINTF in a previous commit to fix indentation, since it was not really needed. Turns out unlike gcc clang warns though if a non-literal format string is passed then. Fix indentation differently. http://clang.llvm.org/docs/AttributeReference.html#format-gnu-format
This commit is contained in:
parent
2beb654a15
commit
9dc3ca9b75
1 changed files with 4 additions and 1 deletions
|
@ -1015,8 +1015,11 @@ gst_check_object_destroyed_on_unref (gpointer object_to_unref)
|
|||
}
|
||||
|
||||
/* For ABI compatibility with GStreamer < 1.5 */
|
||||
/* *INDENT-OFF* */
|
||||
void
|
||||
_fail_unless (int result, const char *file, int line, const char *expr, ...);
|
||||
_fail_unless (int result, const char *file, int line, const char *expr, ...)
|
||||
G_GNUC_PRINTF (4, 5);
|
||||
/* *INDENT-ON* */
|
||||
|
||||
void
|
||||
_fail_unless (int result, const char *file, int line, const char *expr, ...)
|
||||
|
|
Loading…
Reference in a new issue