]> git.0d.be Git - empathy.git/commitdiff
Fix build warnings for uninitialized variables
authorXavier Claessens <xclaesse@gmail.com>
Thu, 23 Dec 2010 14:53:27 +0000 (15:53 +0100)
committerXavier Claessens <xclaesse@gmail.com>
Thu, 23 Dec 2010 14:53:27 +0000 (15:53 +0100)
libempathy-gtk/empathy-account-widget.c
src/empathy-accounts-dialog.c
src/empathy-main-window.c

index a405789ae0ff896614e7e978c9fdb1cd34502529..591c964f44966f190c868e73235ff2c279db9a1d 100644 (file)
@@ -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;
 
index a155fecebd0eee86e473a768ccc061b712e81fa7..06605dbbe1149a5a2521f699c8fe9f33882dbb3b 100644 (file)
@@ -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));
index e0b05531bca93e5d43cd173f40871730d6b624e5..88335b654665314f82a6ce490eb18b22227db09b 100644 (file)
@@ -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));