comparison src/dbus-server.c @ 13763:fd708f52defd

[gaim-migrate @ 16175] dbus-server.c: In function ?gaim_dbus_pointer_to_id?: dbus-server.c:104: warning: ?return? with no value, in function returning non-void dbus-server.c:107: warning: this function may return with or without a value committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Wed, 10 May 2006 17:33:51 +0000
parents ec858948d292
children 2d6f7ac4b6f2
comparison
equal deleted inserted replaced
13762:f13659375212 13763:fd708f52defd
99 gint id = GPOINTER_TO_INT(g_hash_table_lookup(map_node_id, node)); 99 gint id = GPOINTER_TO_INT(g_hash_table_lookup(map_node_id, node));
100 if ((id == 0) && (node != NULL)) 100 if ((id == 0) && (node != NULL))
101 { 101 {
102 gaim_debug_warning("dbus", 102 gaim_debug_warning("dbus",
103 "Need to register an object with the dbus subsystem.\n"); 103 "Need to register an object with the dbus subsystem.\n");
104 g_return_if_reached(); 104 g_return_val_if_reached(0);
105 } 105 }
106 return id; 106 return id;
107 } 107 }
108 108
109 gpointer gaim_dbus_id_to_pointer(gint id, GaimDBusType *type) { 109 gpointer gaim_dbus_id_to_pointer(gint id, GaimDBusType *type) {