Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
* [ltt-dev] [LTTV PATCH] Remove warnings reintroduced by the timebar patch
@ 2011-02-16 20:13 Yannick Brosseau
  2011-02-16 21:11 ` Mathieu Desnoyers
  0 siblings, 1 reply; 2+ messages in thread
From: Yannick Brosseau @ 2011-02-16 20:13 UTC (permalink / raw)


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





^ permalink raw reply	[flat|nested] 2+ messages in thread

* [ltt-dev] [LTTV PATCH] Remove warnings reintroduced by the timebar patch
  2011-02-16 20:13 [ltt-dev] [LTTV PATCH] Remove warnings reintroduced by the timebar patch Yannick Brosseau
@ 2011-02-16 21:11 ` Mathieu Desnoyers
  0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Desnoyers @ 2011-02-16 21:11 UTC (permalink / raw)


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




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-02-16 21:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-16 20:13 [ltt-dev] [LTTV PATCH] Remove warnings reintroduced by the timebar patch Yannick Brosseau
2011-02-16 21:11 ` Mathieu Desnoyers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox