mer-hybris / libgbinder

GLib-style interface to binder
BSD 3-Clause "New" or "Revised" License
51 stars 40 forks source link

Fix gbinder_driver_reply_data return value #123

Closed Tomin1 closed 6 months ago

Tomin1 commented 6 months ago

Previously this always returned 1. Drop the first comparison so status can be negative and errors will return 0.

This was found as a result of static code analysis. However the wrong return value doesn't cause any bug as it is not used anywhere in the code.