git-svn-id: http://ltt.polymtl.ca/svn@131 04897980-b3bd-0310-b5e0-8ef037075253
authoryangxx <yangxx@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 23 Jul 2003 18:24:09 +0000 (18:24 +0000)
committeryangxx <yangxx@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 23 Jul 2003 18:24:09 +0000 (18:24 +0000)
ltt/branches/poly/ltt/tracefile.c

index 808649173801afb16cf468180e861bf12e1512bc..f3ee2e20b8252c42cde495b4ae29250871ff5f6e 100644 (file)
@@ -130,6 +130,7 @@ void ltt_tracefile_open_cpu(LttTrace *t, char * tracefile_name)
 {
   LttTracefile * tf;
   tf = ltt_tracefile_open(t,tracefile_name);
+  if(!tf) return;
   t->per_cpu_tracefile_number++;
   g_ptr_array_add(t->per_cpu_tracefiles, tf);
 }
This page took 0.02452 seconds and 4 git commands to generate.