eo2: memset will be faster, still why not using NULL instead of -1 ?

This commit is contained in:
Cedric Bail 2013-08-05 15:13:21 +09:00 committed by Tom Hacohen
parent 0b279b600e
commit 8613ebe403
1 changed files with 1 additions and 3 deletions

View File

@ -408,9 +408,7 @@ _eo2_do_end(const Eina_Bool obj_do)
if(obj_do)
_eo_unref(fptr->obj);
fptr->obj = NULL;
fptr->obj_id = NULL;
fptr->klass = NULL;
memset(fptr, 0, sizeof (Eo2_Stack_Frame));
fptr->obj_data = EO2_INVALID_DATA;
if (fptr == &eo2_call_stack.stack[0])