Eo: Clean up previous commit a bit.

SVN revision: 71799
This commit is contained in:
Tom Hacohen 2012-06-07 11:14:35 +00:00
parent 669177694a
commit c66f8ee33a
1 changed files with 4 additions and 9 deletions

View File

@ -762,15 +762,10 @@ eo_class_funcs_set(Eo_Class *klass, const Eo_Op_Func_Description *func_descs)
}
else
{
Eo_Op_Type desc_type = EO_OP_TYPE_REGULAR;
const char *desc_name = NULL;
if (op_desc)
{
desc_type = op_desc->op_type;
desc_name = op_desc->name;
}
ERR("Set function's op type (%d) is different than the one in the op description (%d) for op '%s' in class '%s'.", itr->op_type, desc_type, desc_name, klass->desc->name);
ERR("Set function's op type (%d) is different than the one in the op description (%d) for op '%s' in class '%s'.", itr->op_type,
(op_desc) ? op_desc->op_type : EO_OP_TYPE_REGULAR,
(op_desc) ? op_desc->name : NULL,
klass->desc->name);
}
}
}