Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Remove useless code in MC_unwind_stack_frame
authorGabriel Corona <gabriel.corona@loria.fr>
Mon, 10 Mar 2014 09:47:15 +0000 (10:47 +0100)
committerGabriel Corona <gabriel.corona@loria.fr>
Mon, 10 Mar 2014 09:47:15 +0000 (10:47 +0100)
src/mc/mc_checkpoint.c

index 765bfdd..49e12af 100644 (file)
@@ -302,9 +302,6 @@ static xbt_dynar_t MC_unwind_stack_frames(void *stack_context) {
 
   unw_cursor_t c;
 
 
   unw_cursor_t c;
 
-  dw_frame_t test = MC_find_function_by_ip(&MC_unwind_stack_frames);
-  xbt_assert(test);
-
   int ret;
   for(ret = unw_init_local(&c, (unw_context_t *)stack_context); ret >= 0; ret = unw_step(&c)){
     mc_stack_frame_t stack_frame = xbt_new(s_mc_stack_frame_t, 1);
   int ret;
   for(ret = unw_init_local(&c, (unw_context_t *)stack_context); ret >= 0; ret = unw_step(&c)){
     mc_stack_frame_t stack_frame = xbt_new(s_mc_stack_frame_t, 1);