aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-11-12 17:05:46 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-11-12 17:05:46 +0000
commit96228d3c22f594361858520370ecf0798e84b02d (patch)
tree12131bd9b64c513239b84b13479749d0578402b3
parentRevert "meson: fix a potential race in evas_opt build" (diff)
downloadefl-96228d3c22f594361858520370ecf0798e84b02d.tar.gz
eina test - fix build with magic debug disabled
-rw-r--r--src/tests/eina/eina_test_magic.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tests/eina/eina_test_magic.c b/src/tests/eina/eina_test_magic.c
index 11b6312a17..d2254a2ba9 100644
--- a/src/tests/eina/eina_test_magic.c
+++ b/src/tests/eina/eina_test_magic.c
@@ -25,12 +25,13 @@
#include <string.h>
#include <Eina.h>
-#ifdef EINA_MAGIC_DEBUG
#include "eina_safety_checks.h"
#include "eina_suite.h"
+#ifdef EINA_MAGIC_DEBUG
+
#define EINA_MAGIC_TEST 0x7781fee7
#define EINA_MAGIC_TEST2 0x42241664
#define EINA_MAGIC_STRING "Eina Magic Test"
@@ -192,7 +193,7 @@ EFL_START_TEST(eina_magic_simple)
EFL_END_TEST
#endif
-void eina_test_magic(TCase *tc)
+void eina_test_magic(TCase *tc EINA_UNUSED)
{
#ifdef EINA_MAGIC_DEBUG
tcase_add_test(tc, eina_magic_simple);