From ac3b1c7df56f3d157cde66a2f4b7af5633337b64 Mon Sep 17 00:00:00 2001 From: compudj Date: Tue, 14 Oct 2008 18:31:38 +0000 Subject: [PATCH] update assert code git-svn-id: http://ltt.polymtl.ca/svn@3104 04897980-b3bd-0310-b5e0-8ef037075253 --- trunk/lttv/ltt/tracefile.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/trunk/lttv/ltt/tracefile.c b/trunk/lttv/ltt/tracefile.c index d30dc511..2f530acc 100644 --- a/trunk/lttv/ltt/tracefile.c +++ b/trunk/lttv/ltt/tracefile.c @@ -776,7 +776,8 @@ LttTrace *ltt_trace_open(const gchar *pathname) g_assert(group->len > 0); tf = &g_array_index (group, LttTracefile, 0); header = (ltt_subbuffer_header_t *)tf->buffer.head; - g_assert(parse_trace_header(header, tf, t) == 0); + ret = parse_trace_header(header, tf, t); + g_assert(!ret); t->num_cpu = group->len; -- 2.34.1