From 307a2f30b5a426ef97d7f566d3970d48e9a9613d Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Thu, 23 Dec 2010 15:53:27 +0100 Subject: Fix build warnings for uninitialized variables --- src/empathy-accounts-dialog.c | 2 +- src/empathy-main-window.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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)); -- cgit v1.2.3