[gnome-todo] task-eds: Trivial style cleanup



commit 0aa7501965c19293989cee200c65ed9d982da707
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Fri Apr 30 13:41:21 2021 -0300

    task-eds: Trivial style cleanup

 src/plugins/eds/gtd-task-eds.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/src/plugins/eds/gtd-task-eds.c b/src/plugins/eds/gtd-task-eds.c
index e48e89ab..1911ad19 100644
--- a/src/plugins/eds/gtd-task-eds.c
+++ b/src/plugins/eds/gtd-task-eds.c
@@ -430,9 +430,7 @@ gtd_task_eds_get_position (GtdTask *task)
 
   value = e_cal_util_component_dup_x_property (ical_comp, ICAL_X_GNOME_TODO_POSITION);
   if (value)
-    {
-        position = g_ascii_strtoll (value, NULL, 10);
-    }
+    position = g_ascii_strtoll (value, NULL, 10);
 
   return position;
 }


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