pidgin/pidgin

6182863475ee
Parents 95d3df5d2f6e
Children ab75bc798d3a
Make sure finch_retrieve_user_info returns a value on failure

Testing Done:
Compiled under clang and gcc. clang was treating this as an error but gcc was just treating it as a warning.

Reviewed at https://reviews.imfreedom.org/r/2075/
--- a/finch/gntblist.c Fri Nov 18 01:02:46 2022 -0600
+++ b/finch/gntblist.c Fri Nov 18 01:33:50 2022 -0600
@@ -1112,7 +1112,7 @@
protocol = purple_connection_get_protocol(conn);
if(!PURPLE_IS_PROTOCOL_SERVER(protocol)) {
- return;
+ return NULL;
}
purple_protocol_server_get_info(PURPLE_PROTOCOL_SERVER(protocol), conn,