Remove warning generated by newer gcc (4.6)
[lttv.git] / lttv / modules / gui / tracecontrol / tracecontrol.c
index 56165d943a352d4997d254c3e3d81fd13c3dfd21..d4919a97a6b06bb7be27e7ff058690a0c323133a 100644 (file)
@@ -476,9 +476,6 @@ static int execute_command(const gchar *command, const gchar *username,
     int status;
     ssize_t count;
     /* discuss with su */
-    struct timeval timeout;
-    timeout.tv_sec = 1;
-    timeout.tv_usec = 0;
 
     struct pollfd pollfd;
     int num_rdy;
@@ -1115,7 +1112,8 @@ void stop_clicked (GtkButton *button, gpointer user_data)
   switch(id){
     case GTK_RESPONSE_ACCEPT:
       {
-        create_main_window_with_trace_list(trace_list);
+              /* TODO ybrosseau: 2011-04-20: Add support for live trace */
+             create_main_window_with_trace_list(trace_list, FALSE);
       }
       break;
     case GTK_RESPONSE_REJECT:
This page took 0.026311 seconds and 4 git commands to generate.