From e6881d4ff1260c7308be56f21a9d354d7680dfaa Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Tue, 14 Jan 2020 10:13:16 +0100 Subject: [PATCH] build: Suppress compiler warning if compiled with G_DISABLE_ASSERT This is similar to 0be63575ff47f19cff3688985c7f00e92bc25541 but for test-file-collection.c. Fixes #36. --- libsecret/test-file-collection.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libsecret/test-file-collection.c b/libsecret/test-file-collection.c index e016d45..512bfb6 100644 --- a/libsecret/test-file-collection.c +++ b/libsecret/test-file-collection.c @@ -1,11 +1,15 @@ #include "config.h" +#undef G_DISABLE_ASSERT + #include "egg/egg-testing.h" #include "secret-file-collection.h" #include "secret-retrievable.h" #include "secret-schema.h" +#include + typedef struct { gchar *directory; GMainLoop *loop;