summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/eo/eo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c
index 303a65c539..eed7a8c88a 100644
--- a/src/lib/eo/eo.c
+++ b/src/lib/eo/eo.c
@@ -898,7 +898,7 @@ eo_class_new(const Eo_Class_Description *desc, const Eo *parent_id, ...)
898 } 898 }
899 899
900#ifdef HAVE_EO_ID 900#ifdef HAVE_EO_ID
901 hndl = NULL; 901 (void) hndl;
902 klass = calloc(1, _eo_class_sz + extn_sz + mro_sz + mixins_sz); 902 klass = calloc(1, _eo_class_sz + extn_sz + mro_sz + mixins_sz);
903#else 903#else
904 hndl = calloc(1, _eo_handle_sz + _eo_class_sz + extn_sz + mro_sz + mixins_sz); 904 hndl = calloc(1, _eo_handle_sz + _eo_class_sz + extn_sz + mro_sz + mixins_sz);
@@ -1097,7 +1097,7 @@ eo_add_internal(const char *file, int line, const Eo *klass_id, Eo *parent_id, .
1097 else 1097 else
1098 { 1098 {
1099#ifdef HAVE_EO_ID 1099#ifdef HAVE_EO_ID
1100 hndl = NULL; 1100 (void) hndl;
1101 obj = calloc(1, klass->obj_size); 1101 obj = calloc(1, klass->obj_size);
1102#else 1102#else
1103 hndl = calloc(1, klass->obj_size); 1103 hndl = calloc(1, klass->obj_size);