Merge branch 'scheduled-ci-fixes' into 'main'

fuzzing: Fix test failure with G_DISABLE_ASSERT

See merge request GNOME/glib!2542
This commit is contained in:
Simon McVittie 2022-03-14 12:25:32 +00:00
commit dbda5a4e38

View File

@ -4,7 +4,7 @@ int
LLVMFuzzerTestOneInput (const unsigned char *data, size_t size)
{
unsigned char *nul_terminated_data = NULL;
const gchar *skipped_root;
const gchar *skipped_root G_GNUC_UNUSED /* when compiling with G_DISABLE_ASSERT */;
gchar *basename = NULL, *dirname = NULL;
fuzz_set_logging_func ();