* btest.c (test5): Replace #ifdef guard with 'unused' attribute
to fix compile warning when BACKTRACE_SUPPORTED isn't defined.
From-SVN: r245977
+2017-03-08 Sam Thursfield <sam.thursfield@codethink.co.uk>
+
+ * btest.c (test5): Replace #ifdef guard with 'unused' attribute
+ to fix compile warning when BACKTRACE_SUPPORTED isn't defined.
+
2017-01-01 Jakub Jelinek <jakub@redhat.com>
Update copyright years.
return failures;
}
-#if BACKTRACE_SUPPORTS_DATA
+static int test5 (void) __attribute__ ((unused));
int global = 1;
return failures;
}
-#endif /* BACKTRACE_SUPPORTS_DATA */
-
static void
error_callback_create (void *data ATTRIBUTE_UNUSED, const char *msg,
int errnum)