[gnome-todo] task-list: remove unneeded parentheses in return



commit 04f06e8cca67b5623b9063221b4bf29a28d1cec9
Author: djb <db0451 gmail com>
Date:   Wed Oct 26 23:33:13 2016 +0100

    task-list: remove unneeded parentheses in return
    
    They do nothing, and we do not seem to have a convention of using them.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=773561

 src/gtd-task-list.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gtd-task-list.c b/src/gtd-task-list.c
index ab53abc..afa54a4 100644
--- a/src/gtd-task-list.c
+++ b/src/gtd-task-list.c
@@ -667,7 +667,7 @@ gtd_task_list_contains (GtdTaskList *list,
 
   priv = gtd_task_list_get_instance_private (list);
 
-  return (g_list_find (priv->tasks, task) != NULL);
+  return g_list_find (priv->tasks, task) != NULL;
 }
 
 /**


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]