aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2010-12-23 22:53:27 +0800
committerXavier Claessens <xclaesse@gmail.com>2010-12-23 22:53:27 +0800
commit307a2f30b5a426ef97d7f566d3970d48e9a9613d (patch)
tree3b2f93b2a54b14afadeb731014514e68531ba45f
parentfdcf1b26fd44a44c0dfe882f19ec2782cccd542c (diff)
downloadgsoc2013-empathy-307a2f30b5a426ef97d7f566d3970d48e9a9613d.tar
gsoc2013-empathy-307a2f30b5a426ef97d7f566d3970d48e9a9613d.tar.gz
gsoc2013-empathy-307a2f30b5a426ef97d7f566d3970d48e9a9613d.tar.bz2
gsoc2013-empathy-307a2f30b5a426ef97d7f566d3970d48e9a9613d.tar.lz
gsoc2013-empathy-307a2f30b5a426ef97d7f566d3970d48e9a9613d.tar.xz
gsoc2013-empathy-307a2f30b5a426ef97d7f566d3970d48e9a9613d.tar.zst
gsoc2013-empathy-307a2f30b5a426ef97d7f566d3970d48e9a9613d.zip
Fix build warnings for uninitialized variables
-rw-r--r--libempathy-gtk/empathy-account-widget.c2
-rw-r--r--src/empathy-accounts-dialog.c2
-rw-r--r--src/empathy-main-window.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/libempathy-gtk/empathy-account-widget.c b/libempathy-gtk/empathy-account-widget.c
index a405789ae..591c964f4 100644
--- a/libempathy-gtk/empathy-account-widget.c
+++ b/libempathy-gtk/empathy-account-widget.c
@@ -1089,7 +1089,7 @@ account_widget_launch_external_clicked (GtkWidget *button,
/* we know how to handle this external provider */
GDesktopAppInfo *desktop_info;
GError *error = NULL;
- GdkAppLaunchContext *context;
+ GdkAppLaunchContext *context = NULL;
gchar *cmd;
GAppInfo *app_info;
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index a155feceb..06605dbbe 100644
--- a/src/empathy-accounts-dialog.c
+++ b/src/empathy-accounts-dialog.c
@@ -2295,7 +2295,7 @@ empathy_accounts_dialog_show_application (GdkScreen *screen,
GString *cmd;
gchar *path;
GAppInfo *app_info;
- GdkAppLaunchContext *context;
+ GdkAppLaunchContext *context = NULL;
g_return_if_fail (GDK_IS_SCREEN (screen));
g_return_if_fail (!selected_account || TP_IS_ACCOUNT (selected_account));
diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c
index e0b05531b..88335b654 100644
--- a/src/empathy-main-window.c
+++ b/src/empathy-main-window.c
@@ -1483,7 +1483,7 @@ main_window_help_debug_cb (GtkAction *action,
GError *error = NULL;
gchar *path;
GAppInfo *app_info;
- GdkAppLaunchContext *context;
+ GdkAppLaunchContext *context = NULL;
g_return_if_fail (GDK_IS_SCREEN (screen));