Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Remove spurious return in MC_find_object_address
authorGabriel Corona <gabriel.corona@loria.fr>
Mon, 6 Jan 2014 09:35:52 +0000 (10:35 +0100)
committerGabriel Corona <gabriel.corona@loria.fr>
Fri, 10 Jan 2014 10:20:31 +0000 (11:20 +0100)
src/mc/mc_checkpoint.c

index 1e2bcd1..a4fe970 100644 (file)
@@ -273,7 +273,6 @@ static void MC_find_object_address(memory_map_t maps, mc_object_info_t result) {
   xbt_assert(result->start_text);
 
   MC_get_plt_section(result);
   xbt_assert(result->start_text);
 
   MC_get_plt_section(result);
-  return result;
 }
 
 /** \brief Fills the position of the .plt and .got.plt sections. */
 }
 
 /** \brief Fills the position of the .plt and .got.plt sections. */