Updating branch refs/heads/master
to c44b6eaabcfaf8edcd29207517a3b9487bc4b7c4 (commit)
from 38c3b888e09e2d2e12e434d8c6af4a8d5fa0afa3 (commit)
commit c44b6eaabcfaf8edcd29207517a3b9487bc4b7c4
Author: Nick Schermer <[email protected]>
Date: Thu Apr 19 23:42:14 2012 +0200
Avoid compiler warnings.
thunar-vfs/thunar-vfs-io-local.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/thunar-vfs/thunar-vfs-io-local.c b/thunar-vfs/thunar-vfs-io-local.c
index 6d044d7..d1a7f31 100644
--- a/thunar-vfs/thunar-vfs-io-local.c
+++ b/thunar-vfs/thunar-vfs-io-local.c
@@ -679,7 +679,8 @@ _thunar_vfs_io_local_listdir (ThunarVfsPath *path,
g_thread_pool_free (pool, FALSE, TRUE);
/* change back to the previous working directory */
- ignore = chdir (current_dir);
+ if (chdir (current_dir) == -1)
+ g_message ("Unable to change working directory to \"%s\"",
current_dir);
}
/* release the chdir lock */
_______________________________________________
Xfce4-commits mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce4-commits