[PATCH 04/16] libplanner/mrp-task.c, fix warning: variable 'priv' set but not used



Signed-off-by: Tinggong Wang <wangtinggong gmail com>
---
 libplanner/mrp-task.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/libplanner/mrp-task.c b/libplanner/mrp-task.c
index c57ed66..fc6c950 100644
--- a/libplanner/mrp-task.c
+++ b/libplanner/mrp-task.c
@@ -653,12 +653,10 @@ static void
 task_removed (MrpObject *object)
 {
 	MrpTask     *task;
-	MrpTaskPriv *priv;
 
 	g_return_if_fail (MRP_IS_TASK (object));
 
 	task = MRP_TASK (object);
-	priv = task->priv;
 
 	task_remove_assignments (task);
 	task_remove_relations (task);
-- 
1.7.6.4



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