eo2: remove dead code

This commit is contained in:
Jérémy Zurcher 2013-12-27 23:07:22 +01:00 committed by Tom Hacohen
parent 117aa6f2a7
commit 1834e3ff12
2 changed files with 0 additions and 4 deletions

View File

@ -1590,9 +1590,6 @@ eo_add_internal(const char *file, int line, const Eo_Class *klass_id, Eo *parent
_eo_parent_internal_set(obj, parent_id);
/* Run the relevant do stuff. */
if (klass->desc->version == EO2_VERSION)
eo2_do((Eo *)obj_id, eo2_constructor());
/* Run the relevant do stuff. */
{
va_list p_list;

View File

@ -60,7 +60,6 @@ typedef uintptr_t Eo_Id;
typedef struct _Eo_Class _Eo_Class;
typedef struct _Eo_Object _Eo_Object;
typedef struct _Eo_Base Eo_Base;
typedef struct _Eo_Internal _Eo;
/* Retrieves the pointer to the object from the id */
static inline _Eo_Object *_eo_obj_pointer_get(const Eo_Id obj_id);