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 *iface, const char *member,
const char *path) const char *path)
{ {
return weston_dbus_remove_match(c, weston_dbus_remove_match(c,
"type='signal'," "type='signal',"
"sender='%s'," "sender='%s',"
"interface='%s'," "interface='%s',"
"member='%s'," "member='%s',"
"path='%s'", "path='%s'",
sender, iface, member, path); sender, iface, member, path);
} }

Loading…
Cancel
Save