Commit abac67c0 authored by Xavier Claessens's avatar Xavier Claessens

Tests: Fix -Wformat-nonliteral causing build failure with clang

parent 3ae1244b
......@@ -9,6 +9,8 @@
static gint exit_status = 0;
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wformat-nonliteral"
static void
croak (char *format, ...)
{
......@@ -32,6 +34,7 @@ fail (char *format, ...)
exit_status |= 1;
}
#pragma GCC diagnostic pop
typedef 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