flatpak / xdg-dbus-proxy

GNU Lesser General Public License v2.1
53 stars 21 forks source link

remove meaningless and redundant code #35

Closed hqh2010 closed 1 year ago

hqh2010 commented 2 years ago

function sync_closed_cb "return TRUE" is meaningless and redundant, code style should consistent with elsewhere, ie: in function parse_generic_args exit without return value

paralin commented 1 year ago

This change is in itself meaningless, it doesn't make any difference to remove that statement.

matthiasclasen commented 1 year ago

It returns TRUE because its return type is gboolean.

Seems fine to me, and there's no need to change it.