Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Don't use pass-by-value for large parameters.
[simgrid.git] / src / xbt / dynar.cpp
index 1bd60bb..6b9a739 100644 (file)
@@ -444,7 +444,6 @@ unsigned int xbt_dynar_search(xbt_dynar_t const dynar, void* const elem)
     }
 
   THROWF(not_found_error, 0, "Element %p not part of dynar %p", elem, dynar);
-  return 0; // Won't happen, just to please eclipse
 }
 
 /** @brief Returns the position of the element in the dynar (or -1 if not found)