forked from enlightenment/efl
Eo: Made an hot-path check compile out when not in debug mode.
SVN revision: 71286
This commit is contained in:
parent
1174b27e52
commit
b977e11ea6
|
@ -1384,10 +1384,12 @@ eo_data_get(const Eo *obj, const Eo_Class *klass)
|
||||||
|
|
||||||
ret = _eo_data_get(obj, klass);
|
ret = _eo_data_get(obj, klass);
|
||||||
|
|
||||||
|
#ifndef NDEBUG
|
||||||
if (!ret && (klass->desc->data_size == 0))
|
if (!ret && (klass->desc->data_size == 0))
|
||||||
{
|
{
|
||||||
ERR("Tried getting data of class '%s', but it has none..", klass->desc->name);
|
ERR("Tried getting data of class '%s', but it has none..", klass->desc->name);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue