X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttv%2Fmodules%2Fgui%2Fstatistics%2Fstatistics.c;h=2b40d6be445a167fac8c2302e097eb9859b59280;hb=8d8c5ea79a434752faf43cd66acc38196d25268d;hp=3f5c51d511fb2d0b4dd658833b3f25b8930ba155;hpb=df64b31664467d7217fa08fcdee423577856b38a;p=lttv.git diff --git a/lttv/modules/gui/statistics/statistics.c b/lttv/modules/gui/statistics/statistics.c index 3f5c51d5..2b40d6be 100644 --- a/lttv/modules/gui/statistics/statistics.c +++ b/lttv/modules/gui/statistics/statistics.c @@ -131,7 +131,6 @@ static gint background_ready(void *hook_data, void *call_data) { StatisticViewerData *svd = (StatisticViewerData *)hook_data; Tab *tab = svd->tab; - LttvTrace *trace = (LttvTrace*)call_data; svd->background_info_waiting--; @@ -431,7 +430,6 @@ void show_traceset_stats(StatisticViewerData * statistic_viewer_data) int i, nb; LttvTraceset *ts; LttvTraceStats *tcs; - LttSystemDescription *desc; LttvTracesetStats * tscs = lttvwindow_get_traceset_stats(tab); gchar * str, trace_str[PATH_LENGTH]; GtkTreePath * path; @@ -468,7 +466,7 @@ void show_traceset_stats(StatisticViewerData * statistic_viewer_data) start_time.tv_sec, start_time.tv_nsec); #endif //0 - sprintf(trace_str, g_quark_to_string(ltt_trace_name(tcs->parent.parent.t))); + sprintf(trace_str, "%s", g_quark_to_string(ltt_trace_name(tcs->parent.parent.t))); gtk_tree_store_append (store, &iter, NULL); gtk_tree_store_set (store, &iter,NAME_COLUMN,trace_str,-1); path = gtk_tree_model_get_path(GTK_TREE_MODEL(store), &iter);