[PATCH 13/16] src/planner-task-tree.c, fix warning: variable 'priv' set but not used



Signed-off-by: Tinggong Wang <wangtinggong gmail com>
---
 src/planner-task-tree.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/src/planner-task-tree.c b/src/planner-task-tree.c
index 8907c08..34d3f58 100644
--- a/src/planner-task-tree.c
+++ b/src/planner-task-tree.c
@@ -251,13 +251,10 @@ task_cmd_edit_property (PlannerWindow   *window,
 			const gchar     *property,
 			const GValue    *value)
 {
-	PlannerTaskTreePriv *priv;
 	PlannerCmd          *cmd_base;
 	TaskCmdEditProperty *cmd;
 	PlannerGanttModel   *model;
 
-	priv = tree->priv;
-
 	cmd_base = planner_cmd_new (TaskCmdEditProperty,
 				    _("Edit task property"),
 				    task_cmd_edit_property_do,
-- 
1.7.6.4



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