dbus: Don't return value from void function

Just discard the value, rather than trying to return a value from a void
function.

Signed-off-by: Daniel Stone <daniels@collabora.com>
dev
Daniel Stone 6 years ago
parent dc3edc04aa
commit 82c8ca1628
  1. 14
      libweston/dbus.c

@ -398,11 +398,11 @@ void weston_dbus_remove_match_signal(DBusConnection *c, const char *sender,
const char *iface, const char *member,
const char *path)
{
return weston_dbus_remove_match(c,
"type='signal',"
"sender='%s',"
"interface='%s',"
"member='%s',"
"path='%s'",
sender, iface, member, path);
weston_dbus_remove_match(c,
"type='signal',"
"sender='%s',"
"interface='%s',"
"member='%s',"
"path='%s'",
sender, iface, member, path);
}

Loading…
Cancel
Save