summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-05-20 11:39:36 +0100
committerTom Hacohen <tom@stosb.com>2016-05-20 11:39:36 +0100
commit5f46df619b7cf52649b94b9b03098b0f259d2a30 (patch)
tree981629936b432eec66dccdb33d5bc3f71edc4a40
parent06f65ab2b1ad4b6963de4193aeea2f4274ced1fa (diff)
Eo tests: Fix compilation warnings with eoid disabled.
-rw-r--r--src/tests/eo/suite/eo_test_general.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/eo/suite/eo_test_general.c b/src/tests/eo/suite/eo_test_general.c
index 1ae539d2f4..1fffc3521e 100644
--- a/src/tests/eo/suite/eo_test_general.c
+++ b/src/tests/eo/suite/eo_test_general.c
@@ -1078,6 +1078,7 @@ START_TEST(eo_add_failures)
1078} 1078}
1079END_TEST 1079END_TEST
1080 1080
1081#ifdef HAVE_EO_ID
1081static Eina_Bool intercepted = EINA_FALSE; 1082static Eina_Bool intercepted = EINA_FALSE;
1082 1083
1083static void 1084static void
@@ -1087,6 +1088,7 @@ _del_intercept(Eo *obj)
1087 eo_del_intercept_set(obj, NULL); 1088 eo_del_intercept_set(obj, NULL);
1088 eo_unref(obj); 1089 eo_unref(obj);
1089} 1090}
1091#endif
1090 1092
1091START_TEST(eo_del_intercept) 1093START_TEST(eo_del_intercept)
1092{ 1094{