forked from enlightenment/efl
eolian: silence a potentially uninitialized warning
Compiler thinks mname might be used uninitialized, which is never the case, because cl only exists if mname has been set. It still creates an annoying warning though, so fix that.
This commit is contained in:
parent
ca3fb6bf94
commit
b47782372b
|
@ -74,7 +74,7 @@ _generate_ref(const Eolian_State *state, const char *refn, Eina_Strbuf *wbuf,
|
|||
Eolian_Function_Type ftype = EOLIAN_UNRESOLVED;
|
||||
if (!cl)
|
||||
{
|
||||
const char *mname;
|
||||
const char *mname = NULL;
|
||||
if (!strcmp(sfx, ".get")) ftype = EOLIAN_PROP_GET;
|
||||
else if (!strcmp(sfx, ".set")) ftype = EOLIAN_PROP_SET;
|
||||
if (ftype != EOLIAN_UNRESOLVED)
|
||||
|
|
Loading…
Reference in New Issue