From: Yannick Brosseau Date: Wed, 16 Feb 2011 22:34:44 +0000 (-0500) Subject: Remove warnings reintroduced by the timebar patch X-Git-Tag: v0.12.37~2 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=b56f8efe575c0b5a2e61be6008f2be71e84b25bb;p=lttv.git Remove warnings reintroduced by the timebar patch Only unused variables Signed-off-by: Yannick Brosseau Signed-off-by: Mathieu Desnoyers --- diff --git a/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c b/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c index aabd2ace..d2e397f3 100644 --- a/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c +++ b/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c @@ -3196,7 +3196,6 @@ void time_change_manager (Tab *tab, TimeInterval time_span = tsc->time_span; LttTime start_time = new_time_window.start_time; LttTime end_time = new_time_window.end_time; - LttTime time_width = new_time_window.time_width; g_assert(ltt_time_compare(start_time, end_time) < 0); @@ -3271,9 +3270,6 @@ void current_time_change_manager (Tab *tab, tab->current_time_manager_lock = TRUE; - LttvTracesetContext *tsc = LTTV_TRACESET_CONTEXT(tab->traceset_info->traceset_context); - TimeInterval time_span = tsc->time_span; - timebar_set_current_time(TIMEBAR(tab->MTimebar), &new_current_time); set_current_time(tab, &new_current_time);