From df87afa676988c2cb4640b97136f384285f37bdf Mon Sep 17 00:00:00 2001 From: englebass Date: Sun, 8 Nov 2009 20:27:22 +0000 Subject: [PATCH] Remove storage of return value We don't use the return value from the func, so remove it. The function prototype has changed anyway. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@43541 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/bin/hal.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/bin/hal.c b/src/bin/hal.c index 61c839e..686e460 100644 --- a/src/bin/hal.c +++ b/src/bin/hal.c @@ -486,13 +486,12 @@ cb_signal_device_added(void *data __UNUSED__, DBusMessage *msg) { DBusError err; char *udi; - int ret; dbus_error_init(&err); dbus_message_get_args(msg, &err, DBUS_TYPE_STRING, &udi, DBUS_TYPE_INVALID); udi = strdup(udi); EINA_LOG_INFO("Ehal: Device added: %s", udi); - ret = e_hal_device_query_capability(conn, udi, "storage", cb_is_storage, strdup(udi)); + e_hal_device_query_capability(conn, udi, "storage", cb_is_storage, strdup(udi)); e_hal_device_query_capability(conn, udi, "volume", cb_is_volume, strdup(udi)); } -- 2.7.4