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



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

diff --git a/src/planner-task-date-widget.c b/src/planner-task-date-widget.c
index e0c8b47..9489a3f 100644
--- a/src/planner-task-date-widget.c
+++ b/src/planner-task-date-widget.c
@@ -98,11 +98,8 @@ static void
 task_date_widget_today_clicked_cb (GtkWidget             *button,
 				   PlannerTaskDateWidget *widget)
 {
-	PlannerTaskDateWidgetPriv *priv;
 	mrptime                    today;
 
-	priv = GET_PRIV (widget);
-
 	today = mrp_time_current_time ();
 	planner_task_date_widget_set_date (widget, today);
 }
-- 
1.7.6.4



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