[ltt-dev] [LTTV PATCH] Remove warnings reintroduced by the timebar patch

Mathieu Desnoyers compudj at krystal.dyndns.org
Wed Feb 16 16:11:19 EST 2011


merged, thanks!

Mathieu

* Yannick Brosseau (yannick.brosseau at gmail.com) wrote:
> Only unused variables
> 
> Signed-off-by: Yannick Brosseau <yannick.brosseau at gmail.com>
> ---
>  lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c |    4 ----
>  1 files changed, 0 insertions(+), 4 deletions(-)
> 
> diff --git a/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c b/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c
> index aabd2ac..d2e397f 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);
> -- 
> 1.7.2.3
> 
> 
> _______________________________________________
> ltt-dev mailing list
> ltt-dev at lists.casi.polymtl.ca
> http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
> 

-- 
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com




More information about the lttng-dev mailing list