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

Tinggong Wang <[email protected]> Thu, 13 Oct 2011 03:30:58 +0800
Newsgroups gmane.comp.gnome.apps.planner.devel
Message-ID <[email protected]>
Signed-off-by: Tinggong Wang <[email protected]>
---
 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