Eo tests: Fix compilation warnings with eoid disabled.
authorTom Hacohen <tom@stosb.com>
Fri, 20 May 2016 10:39:36 +0000 (11:39 +0100)
committerTom Hacohen <tom@stosb.com>
Fri, 20 May 2016 10:39:36 +0000 (11:39 +0100)
src/tests/eo/suite/eo_test_general.c

index 1ae539d..1fffc35 100644 (file)
@@ -1078,6 +1078,7 @@ START_TEST(eo_add_failures)
 }
 END_TEST
 
+#ifdef HAVE_EO_ID
 static Eina_Bool intercepted = EINA_FALSE;
 
 static void
@@ -1087,6 +1088,7 @@ _del_intercept(Eo *obj)
    eo_del_intercept_set(obj, NULL);
    eo_unref(obj);
 }
+#endif
 
 START_TEST(eo_del_intercept)
 {