Commit 56b745f4 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠
Browse files

validate-scenario: reflow #ifdef to work around bogus g-ir-scanner warning

Looks like a scanner bug.

The endif comments are the wrong way round too, but that's not it.

gst-validate-scenario.c:126: mismatched #endif  /* G_HAVE_GNUC_VARARGS */

Part-of: <gstreamer/gst-devtools!213>
parent e2573740
...@@ -109,8 +109,7 @@ GST_DEBUG_CATEGORY_STATIC (gst_validate_scenario_debug); ...@@ -109,8 +109,7 @@ GST_DEBUG_CATEGORY_STATIC (gst_validate_scenario_debug);
} \ } \
} \ } \
G_STMT_END G_STMT_END
#else /* G_HAVE_GNUC_VARARGS */ #elif defined(G_HAVE_GNUC_VARARGS)
#ifdef G_HAVE_GNUC_VARARGS
#define REPORT_UNLESS(condition, errpoint, args...) \ #define REPORT_UNLESS(condition, errpoint, args...) \
G_STMT_START { \ G_STMT_START { \
if (!(condition)) { \ if (!(condition)) { \
...@@ -121,8 +120,7 @@ GST_DEBUG_CATEGORY_STATIC (gst_validate_scenario_debug); ...@@ -121,8 +120,7 @@ GST_DEBUG_CATEGORY_STATIC (gst_validate_scenario_debug);
} \ } \
} \ } \
G_STMT_END G_STMT_END
#endif /* G_HAVE_ISO_VARARGS */ #endif
#endif /* G_HAVE_GNUC_VARARGS */
enum enum
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment