Mercurial > pidgin
changeset 26057:128a3175668e
Removed a couple of warnings
author | Marcus Lundblad <ml@update.uu.se> |
---|---|
date | Sat, 24 Jan 2009 12:01:34 +0000 |
parents | 4f0aec6d4ad7 |
children | ac56e5707a72 |
files | libpurple/media.c libpurple/network.c |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/media.c Fri Jan 23 06:20:16 2009 +0000 +++ b/libpurple/media.c Sat Jan 24 12:01:34 2009 +0000 @@ -1643,7 +1643,7 @@ 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 @@ 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);