update assert code
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Tue, 14 Oct 2008 18:31:38 +0000 (18:31 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Tue, 14 Oct 2008 18:31:38 +0000 (18:31 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@3104 04897980-b3bd-0310-b5e0-8ef037075253

trunk/lttv/ltt/tracefile.c

index d30dc51188b0470327cbb212253614fd1c99d536..2f530accc0e748bbea3c61bd2cbb08baeb42eedb 100644 (file)
@@ -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;
   
This page took 0.025115 seconds and 4 git commands to generate.