aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/gossip-account-widget-jabber.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy-gtk/gossip-account-widget-jabber.c')
-rw-r--r--libempathy-gtk/gossip-account-widget-jabber.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libempathy-gtk/gossip-account-widget-jabber.c b/libempathy-gtk/gossip-account-widget-jabber.c
index b5cf4ce29..1c3b6108c 100644
--- a/libempathy-gtk/gossip-account-widget-jabber.c
+++ b/libempathy-gtk/gossip-account-widget-jabber.c
@@ -91,7 +91,7 @@ account_widget_jabber_entry_focus_cb (GtkWidget *widget,
str = gtk_entry_get_text (GTK_ENTRY (widget));
if (G_STR_EMPTY (str)) {
- gchar *value;
+ gchar *value = NULL;
mc_account_get_param_string (settings->account, param, &value);
gtk_entry_set_text (GTK_ENTRY (widget), value ? value : "");
@@ -120,7 +120,7 @@ account_widget_jabber_checkbutton_toggled_cb (GtkWidget *widget,
GossipAccountWidgetJabber *settings)
{
if (widget == settings->checkbutton_ssl) {
- gint port;
+ gint port = 0;
gboolean old_ssl;
mc_account_get_param_int (settings->account, "port", &port);