[Xfce4-commits] <thunar:nick/multiple-file-properties> Fix compiler warnings.

Nick Schermer noreply at xfce.org
Sun Sep 16 20:12:01 CEST 2012


Updating branch refs/heads/nick/multiple-file-properties
         to 5898f295cab37e4bbda87f9dcf3a36e00d78fb3e (commit)
       from 5c0f6c9dd19e2d4b87b2aedbc007aeea92e01431 (commit)

commit 5898f295cab37e4bbda87f9dcf3a36e00d78fb3e
Author: Nick Schermer <nick at xfce.org>
Date:   Sun Sep 16 19:57:44 2012 +0200

    Fix compiler warnings.

 thunar/thunar-deep-count-job.c      |    2 +-
 thunar/thunar-dialogs.c             |    2 +-
 thunar/thunar-permissions-chooser.c |    2 +-
 thunar/thunar-properties-dialog.c   |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/thunar/thunar-deep-count-job.c b/thunar/thunar-deep-count-job.c
index 23d5a94..ab858c3 100644
--- a/thunar/thunar-deep-count-job.c
+++ b/thunar/thunar-deep-count-job.c
@@ -296,7 +296,7 @@ thunar_deep_count_job_execute (ExoJob  *job,
                                GError **error)
 {
   ThunarDeepCountJob *count_job = THUNAR_DEEP_COUNT_JOB (job);
-  gboolean            success;
+  gboolean            success = TRUE;
   GError             *err = NULL;
   GList              *lp;
   GFile              *gfile;
diff --git a/thunar/thunar-dialogs.c b/thunar/thunar-dialogs.c
index b6fe037..37e585a 100644
--- a/thunar/thunar-dialogs.c
+++ b/thunar/thunar-dialogs.c
@@ -76,7 +76,7 @@ thunar_dialogs_show_rename_file (gpointer    parent,
   gchar             *title;
   gint               response;
 
-  _thunar_return_val_if_fail (window == NULL || GDK_IS_SCREEN (parent) || GTK_IS_WINDOW (parent), FALSE);
+  _thunar_return_val_if_fail (parent == NULL || GDK_IS_SCREEN (parent) || GTK_IS_WINDOW (parent), FALSE);
   _thunar_return_val_if_fail (THUNAR_IS_FILE (file), FALSE);
 
   /* parse the parent window and screen */
diff --git a/thunar/thunar-permissions-chooser.c b/thunar/thunar-permissions-chooser.c
index 552b5c2..260a452 100644
--- a/thunar/thunar-permissions-chooser.c
+++ b/thunar/thunar-permissions-chooser.c
@@ -836,7 +836,7 @@ thunar_permissions_chooser_file_changed (ThunarPermissionsChooser *chooser)
   GtkTreeIter        iter;
   const gchar       *user_name;
   const gchar       *real_name;
-  GList             *groups;
+  GList             *groups = NULL;
   GList             *lp;
   gchar              buffer[1024];
   guint              n;
diff --git a/thunar/thunar-properties-dialog.c b/thunar/thunar-properties-dialog.c
index ff13857..fada201 100644
--- a/thunar/thunar-properties-dialog.c
+++ b/thunar/thunar-properties-dialog.c
@@ -1096,7 +1096,7 @@ thunar_properties_dialog_update_multiple (ThunarPropertiesDialog *dialog)
   GString     *names_string;
   gboolean     first_file = TRUE;
   GList       *lp;
-  const gchar *content_type;
+  const gchar *content_type = NULL;
   const gchar *tmp;
   gchar       *str;
   GVolume     *volume = NULL;


More information about the Xfce4-commits mailing list