[Xfce4-commits] <thunar-vfs:master> Fix compiler warning in !Linux systems.

Nick Schermer noreply at xfce.org
Mon Mar 7 18:24:01 CET 2011


Updating branch refs/heads/master
         to b4da8112dafccdc5fa4e2f095cbd55e574711f15 (commit)
       from 046e03f4a364514773074835e0c7472c81ec3481 (commit)

commit b4da8112dafccdc5fa4e2f095cbd55e574711f15
Author: Nick Schermer <nick at xfce.org>
Date:   Mon Mar 7 18:22:53 2011 +0100

    Fix compiler warning in !Linux systems.

 thunar-vfs/thunar-vfs-monitor.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/thunar-vfs/thunar-vfs-monitor.c b/thunar-vfs/thunar-vfs-monitor.c
index f5d5fde..1b09abb 100644
--- a/thunar-vfs/thunar-vfs-monitor.c
+++ b/thunar-vfs/thunar-vfs-monitor.c
@@ -509,7 +509,9 @@ thunar_vfs_monitor_is_excluded_path (ThunarVfsMonitor *monitor,
                                      ThunarVfsPath    *path)
 {
   gboolean  excluded = FALSE;
+#ifdef HAVE_LINUX
   gchar    *path_string;
+#endif
 
   _thunar_vfs_return_val_if_fail (THUNAR_VFS_IS_MONITOR (monitor), FALSE);
   _thunar_vfs_return_val_if_fail (path != NULL, FALSE);



More information about the Xfce4-commits mailing list