raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=6f3643458469d980a5481f819e240a018db89ff8

commit 6f3643458469d980a5481f819e240a018db89ff8
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Wed Dec 28 18:51:33 2016 +0900

    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.
---
 src/lib/elementary/elm_dbus_menu.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/elementary/elm_dbus_menu.c 
b/src/lib/elementary/elm_dbus_menu.c
index 9610a0b..592d845 100644
--- a/src/lib/elementary/elm_dbus_menu.c
+++ b/src/lib/elementary/elm_dbus_menu.c
@@ -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

-- 


Reply via email to