Summary: | Fix some clang/tartan errors | ||
---|---|---|---|
Product: | Wocky | Reporter: | Guillaume Desmottes <guillaume.desmottes> |
Component: | General | Assignee: | Telepathy bugs list <telepathy-bugs> |
Status: | RESOLVED FIXED | QA Contact: | Telepathy bugs list <telepathy-bugs> |
Severity: | normal | ||
Priority: | medium | Keywords: | patch |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
URL: | http://cgit.collabora.com/git/user/cassidy/wocky/log/?h=tartan | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Guillaume Desmottes
2014-06-02 13:29:12 UTC
+ if (e != NULL) + { + if (error != NULL) + *error = e; + else + g_error_free (e); + + return FALSE; + } should be if (e != NULL) { g_propagate_error (error, e); return FALSE; } Also, wocky_jingle_state_machine_dance() should ideally return boolean, although I assume it isn't API anyway. (In reply to comment #1) > + if (e != NULL) > + { > + if (error != NULL) > + *error = e; > + else > + g_error_free (e); > + > + return FALSE; > + } > > should be > > if (e != NULL) > { > g_propagate_error (error, e); > return FALSE; > } Oh yeah I forgot about this API; thanks. (In reply to comment #2) > Also, wocky_jingle_state_machine_dance() should ideally return boolean, > although I assume it isn't API anyway. You're right that's better; done. Branch has been updated. Looks good Merged thanks. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.