eldbus - fix warning for possibly undefined value being sent

this ensures the integer "id" is at least set before using it, though
reality is it will be set, it's better to have less warnings and there
isn't any other way to silence this warning other that setting it.
This commit is contained in:
Carsten Haitzler 2016-12-28 18:51:33 +09:00
parent ef49935f72
commit 6f36434584
1 changed files with 1 additions and 0 deletions

View File

@ -695,6 +695,7 @@ _method_event_group(const Eldbus_Service_Interface *iface,
while (eldbus_message_iter_get_and_next(array, 'r', &tuple))
{
id = 0;
if (_event_handle(dbus_menu, tuple, &id))
return_error = EINA_FALSE;
else