build: Suppress compiler warning if compiled with G_DISABLE_ASSERT

This is similar to 0be63575ff but for
test-file-collection.c.

Fixes #36.
This commit is contained in:
Daiki Ueno 2020-01-14 10:13:16 +01:00
parent cf21ad50b6
commit e6881d4ff1

View File

@ -1,11 +1,15 @@
#include "config.h" #include "config.h"
#undef G_DISABLE_ASSERT
#include "egg/egg-testing.h" #include "egg/egg-testing.h"
#include "secret-file-collection.h" #include "secret-file-collection.h"
#include "secret-retrievable.h" #include "secret-retrievable.h"
#include "secret-schema.h" #include "secret-schema.h"
#include <stdlib.h>
typedef struct { typedef struct {
gchar *directory; gchar *directory;
GMainLoop *loop; GMainLoop *loop;