projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Further warning fixes
[lttv.git]
/
lttv
/
modules
/
gui
/
controlflow
/
drawing.c
diff --git
a/lttv/modules/gui/controlflow/drawing.c
b/lttv/modules/gui/controlflow/drawing.c
index 10df57db5b84619b874ab77cd8725af59b55c177..a901e8bb4531a9bf7bfc9e14da51563ae88ec0fa 100644
(file)
--- a/
lttv/modules/gui/controlflow/drawing.c
+++ b/
lttv/modules/gui/controlflow/drawing.c
@@
-162,20
+162,11
@@
void drawing_data_request(Drawing_t *drawing,
{
/* find the tracehooks */
LttvTracesetContext *tsc = lttvwindow_get_traceset_context(tab);
{
/* find the tracehooks */
LttvTracesetContext *tsc = lttvwindow_get_traceset_context(tab);
-
LttvTraceset *traceset = tsc->ts;
LttvTraceset *traceset = tsc->ts;
-
- guint i, k, l, nb_trace;
-
+ guint i, k, nb_trace;
LttvTraceState *ts;
LttvTraceState *ts;
-
- LttvTracefileState *tfs;
-
GArray *hooks;
GArray *hooks;
-
LttvTraceHook *th;
LttvTraceHook *th;
-
- guint ret;
gint first_after;
nb_trace = lttv_traceset_number(traceset);
gint first_after;
nb_trace = lttv_traceset_number(traceset);
@@
-469,7
+460,6
@@
void drawing_data_request(Drawing_t *drawing,
static void set_last_start(gpointer key, gpointer value, gpointer user_data)
{
static void set_last_start(gpointer key, gpointer value, gpointer user_data)
{
- ProcessInfo *process_info = (ProcessInfo*)key;
HashedProcessData *hashed_process_data = (HashedProcessData*)value;
guint x = GPOINTER_TO_UINT(user_data);
HashedProcessData *hashed_process_data = (HashedProcessData*)value;
guint x = GPOINTER_TO_UINT(user_data);
@@
-491,7
+481,6
@@
void drawing_data_request_begin(EventsRequest *events_request, LttvTracesetState
{
g_debug("Begin of data request");
ControlFlowData *cfd = events_request->viewer_data;
{
g_debug("Begin of data request");
ControlFlowData *cfd = events_request->viewer_data;
- LttvTracesetContext *tsc = LTTV_TRACESET_CONTEXT(tss);
TimeWindow time_window =
lttvwindow_get_time_window(cfd->tab);
TimeWindow time_window =
lttvwindow_get_time_window(cfd->tab);
@@
-515,7
+504,7
@@
void drawing_chunk_begin(EventsRequest *events_request, LttvTracesetState *tss)
{
g_debug("Begin of chunk");
ControlFlowData *cfd = events_request->viewer_data;
{
g_debug("Begin of chunk");
ControlFlowData *cfd = events_request->viewer_data;
- LttvTracesetContext *tsc = &tss->parent
.parent
;
+ LttvTracesetContext *tsc = &tss->parent;
//LttTime current_time = lttv_traceset_context_get_current_tfc(tsc)->timestamp;
guint i;
LttvTraceset *traceset = tsc->ts;
//LttTime current_time = lttv_traceset_context_get_current_tfc(tsc)->timestamp;
guint i;
LttvTraceset *traceset = tsc->ts;
@@
-543,7
+532,6
@@
void drawing_request_expose(EventsRequest *events_request,
guint x_end;
ControlFlowData *cfd = events_request->viewer_data;
guint x_end;
ControlFlowData *cfd = events_request->viewer_data;
- LttvTracesetContext *tsc = (LttvTracesetContext*)tss;
Drawing_t *drawing = cfd->drawing;
TimeWindow time_window =
Drawing_t *drawing = cfd->drawing;
TimeWindow time_window =
This page took
0.023539 seconds
and
4
git commands to generate.