[PATCH 15/16] src/planner-usage-model.c, fix warning: variable 'priv' set but not used
- From: Tinggong Wang <wangtinggong gmail com>
- To: Alexandre Franke <alexandre franke gmail com>, Richard Hult <richard imendio com>, Mikael Hallendal <micke imendio com>, Alvaro del Castillo <acs barrapunto com>, Kurt Maute <kurt maute us>, Maurice van der Pot <griffon26 kfk4ever com>
- Cc: Planner-Dev-List <planner-dev-list gnome org>
- Subject: [PATCH 15/16] src/planner-usage-model.c, fix warning: variable 'priv' set but not used
- Date: Thu, 13 Oct 2011 03:31:00 +0800
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]