pidgin.vv: c49cea14: Removed a couple of warnings
malu at pidgin.im
malu at pidgin.im
Sat Jan 24 09:45:34 EST 2009
-----------------------------------------------------------------
Revision: c49cea147a4b072c29edd8385b2495abf7988ca9
Ancestor: 6c5c6e049b93bc124a30656bb2700b0cf63c9244
Author: malu at pidgin.im
Date: 2009-01-24T12:01:34
Branch: im.pidgin.pidgin.vv
URL: http://d.pidgin.im/viewmtn/revision/info/c49cea147a4b072c29edd8385b2495abf7988ca9
Modified files:
libpurple/media.c libpurple/network.c
ChangeLog:
Removed a couple of warnings
-------------- next part --------------
============================================================
--- libpurple/media.c c7a15f38378f926fe03a914326a2e9760cb8373d
+++ libpurple/media.c 1e1f3b5fc2ba400d0166cd783ae1289dae8061bb
@@ -1643,7 +1643,7 @@ purple_media_add_stream_internal(PurpleM
if (turn_ip) {
GValueArray *relay_info = g_value_array_new(0);
- GValue value = {0};
+ GValue value;
gint turn_port =
purple_prefs_get_int("/purple/network/turn_port");
const gchar *username =
@@ -1658,6 +1658,7 @@ purple_media_add_stream_internal(PurpleM
NULL);
if (turn_setup) {
+ memset(&value, 0, sizeof(GValue));
g_value_init(&value, GST_TYPE_STRUCTURE);
gst_value_set_structure(&value, turn_setup);
relay_info = g_value_array_append(relay_info, &value);
============================================================
--- libpurple/network.c eb8d0641366cb85aadad7909b11a835081931de9
+++ libpurple/network.c decdf85c5acce431fe81f91643fd4003edff6249
@@ -773,7 +773,6 @@ purple_network_ip_lookup_cb(GSList *host
}
if (hosts && g_slist_next(hosts)) {
- size_t addr_len = (size_t) hosts->data;
struct sockaddr *addr = g_slist_next(hosts)->data;
char dst[INET6_ADDRSTRLEN];
More information about the Commits
mailing list