[gnome-todo] todo-txt: Remove unused variables



commit b9465c8f32ca65731f7431c092caf8538cc62f43
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Sun Feb 11 19:51:28 2018 +0000

    todo-txt: Remove unused variables

 plugins/todo-txt/gtd-provider-todo-txt.c | 2 --
 plugins/todo-txt/gtd-todo-txt-parser.c   | 2 --
 2 files changed, 4 deletions(-)
---
diff --git a/plugins/todo-txt/gtd-provider-todo-txt.c b/plugins/todo-txt/gtd-provider-todo-txt.c
index 54bebdb..d18fbb0 100644
--- a/plugins/todo-txt/gtd-provider-todo-txt.c
+++ b/plugins/todo-txt/gtd-provider-todo-txt.c
@@ -83,7 +83,6 @@ print_task (GString *output,
 {
   GtdTaskList *list;
   GDateTime *dt;
-  GtdTask *parent;
   const gchar *list_name;
   const gchar *title;
   gint priority;
@@ -94,7 +93,6 @@ print_task (GString *output,
   priority = gtd_task_get_priority (task);
   dt = gtd_task_get_due_date (task);
   list = gtd_task_get_list (task);
-  parent = gtd_task_get_parent (task);
 
   list_name = gtd_task_list_get_name (list);
 
diff --git a/plugins/todo-txt/gtd-todo-txt-parser.c b/plugins/todo-txt/gtd-todo-txt-parser.c
index a43b919..afb6de5 100644
--- a/plugins/todo-txt/gtd-todo-txt-parser.c
+++ b/plugins/todo-txt/gtd-todo-txt-parser.c
@@ -166,11 +166,9 @@ gtd_todo_txt_parser_parse_task (GtdProvider  *provider,
   GString *parent_task_name;
   Token last_token;
   Token token_id;
-  gboolean is_subtask;
   guint i;
 
   dt = NULL;
-  is_subtask = FALSE;
   title = g_string_new (NULL);
   list_name = g_string_new (NULL);
   parent_task_name = g_string_new (NULL);


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