[Goodies-commits] r5400 - xfburn/trunk/xfburn

David Mohr squisher at xfce.org
Sat Sep 13 22:30:30 CEST 2008


Author: squisher
Date: 2008-09-13 20:30:30 +0000 (Sat, 13 Sep 2008)
New Revision: 5400

Modified:
   xfburn/trunk/xfburn/xfburn-audio-composition.c
Log:
Correctly initialize ret

Modified: xfburn/trunk/xfburn/xfburn-audio-composition.c
===================================================================
--- xfburn/trunk/xfburn/xfburn-audio-composition.c	2008-09-13 20:22:13 UTC (rev 5399)
+++ xfburn/trunk/xfburn/xfburn-audio-composition.c	2008-09-13 20:30:30 UTC (rev 5400)
@@ -1154,7 +1154,7 @@
     gchar *humanlength = NULL;
     int secs = 0;
     GtkTreePath *tree_path = NULL;
-    gboolean ret;
+    gboolean ret = FALSE;
 
     if (!S_ISDIR (s.st_mode) && !S_ISREG (s.st_mode)) {
       return FALSE;
@@ -1208,7 +1208,6 @@
       /* FIXME: if insertion != NULL, we will overwrite its contents, is that OK? */
       iter_last = insertion;
 
-      ret = FALSE;
       while ((filename = g_dir_read_name (dir))) {
         GtkTreeIter new_iter;
         gchar *new_path = NULL;




More information about the Goodies-commits mailing list