[gvfs] GVfsJobError: Return TRUE in try
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs] GVfsJobError: Return TRUE in try
- Date: Fri, 5 Apr 2013 12:44:30 +0000 (UTC)
commit 210dab51a9db47795b03d3090c3ffdfd3bf3a1df
Author: Alexander Larsson <alexl redhat com>
Date: Fri Apr 5 14:00:59 2013 +0200
GVfsJobError: Return TRUE in try
This fixes a warning and a potentially useless call of do() method in
a thread.
daemon/gvfsjoberror.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/daemon/gvfsjoberror.c b/daemon/gvfsjoberror.c
index 46efb9a..409f663 100644
--- a/daemon/gvfsjoberror.c
+++ b/daemon/gvfsjoberror.c
@@ -103,4 +103,5 @@ static gboolean
try (GVfsJob *job)
{
g_vfs_job_failed_from_error (job, G_VFS_JOB_ERROR (job)->error);
+ return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]