Move "active" code out of debug statements
authorBenjamin Poirier <benjamin.poirier@polymtl.ca>
Mon, 19 Oct 2009 19:33:02 +0000 (15:33 -0400)
committerPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Mon, 19 Oct 2009 20:50:13 +0000 (16:50 -0400)
commit8f31828398b8a4fcdb679324291132f4f0e3dce6
tree86bd845755c3ac3c2a3489116ac6ee2d1f01308e
parenta76ec682084c069bc4608af1b11b35cbaa7acc28
Move "active" code out of debug statements

Certain g_assert() statements contained expressions that modify the rest of
the program state (eg. modifying variables). As stated in the GLib reference,
g_assert() is a macro that can be compiled out. This would change the behavior
of an otherwise correct lttv.

Signed-off-by: Benjamin Poirier <benjamin.poirier@polymtl.ca>
16 files changed:
lttv/lttv/attribute.c
lttv/lttv/batchtest.c
lttv/lttv/filter.c
lttv/lttv/main.c
lttv/lttv/state.c
lttv/lttv/tracecontext.c
lttv/modules/gui/controlflow/drawitem.c
lttv/modules/gui/detailedevents/events.c
lttv/modules/gui/histogram/histodrawitem.c
lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c
lttv/modules/gui/lttvwindow/lttvwindow/init_module.c
lttv/modules/gui/lttvwindow/lttvwindow/lttvwindow.c
lttv/modules/gui/resourceview/drawitem.c
lttv/modules/text/batchAnalysis.c
lttv/modules/text/precomputeState.c
lttv/modules/text/textFilter.c
This page took 0.025857 seconds and 4 git commands to generate.