diff --git a/ChangeLog b/ChangeLog
index 8d678d7addd3aed22eed8fcead28198463127474..18be822ccb2e70df1218a226b034ae6f5c6b7036 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-01-10	Benedikt Meurer <benny@xfce.org>
+
+	* thunar/thunar-path-entry.c(thunar_path_entry_changed): Make older
+	  compilers happy. Fixes bug #1318.
+
 2006-01-10	Benedikt Meurer <benny@xfce.org>
 
 	* thunar/thunar-chooser-dialog.c(thunar_chooser_dialog_response): If
diff --git a/thunar/thunar-path-entry.c b/thunar/thunar-path-entry.c
index ab4b09306df2a21ac3f089f9b3ead24e668ad962..7575e1850bd1b3a412727ea88791cd226a0e1687 100644
--- a/thunar/thunar-path-entry.c
+++ b/thunar/thunar-path-entry.c
@@ -752,10 +752,10 @@ thunar_path_entry_changed (GtkEditable *editable)
   ThunarVfsPath      *folder_path = NULL;
   ThunarVfsPath      *file_path = NULL;
   ThunarFolder       *folder;
-  ThunarFile         *current_folder = NULL;
-  ThunarFile         *current_file = NULL;
-  gchar              *folder_part;
-  gchar              *file_part;
+  ThunarFile         *current_folder;
+  ThunarFile         *current_file;
+  gchar              *folder_part = NULL;
+  gchar              *file_part = NULL;
 
   /* check if we should ignore this event */
   if (G_UNLIKELY (path_entry->in_change))