[PATCH 15/16] src/planner-usage-model.c, fix warning: variable 'priv' set but not used



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

diff --git a/src/planner-usage-model.c b/src/planner-usage-model.c
index 52ce9e6..06d9508 100644
--- a/src/planner-usage-model.c
+++ b/src/planner-usage-model.c
@@ -717,14 +717,11 @@ usage_model_resource_assignment_added_cb (MrpResource *res,
 					   MrpAssignment *assign,
 					   PlannerUsageModel *model)
 {
-	PlannerUsageModelPriv *priv;
 	GNode *res_node;
 	GNode *assign_node;
 	GtkTreePath *path;
 	GtkTreeIter iter;
 
-	priv = model->priv;
-
 	res_node = g_hash_table_lookup (model->priv->resource2node, res);
 	assign_node = g_node_new (assign);
 	g_node_append (res_node, assign_node);
-- 
1.7.6.4



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