Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
do not return after a THROW. Fix the THROW macro if there is an issue with it under...
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 21 Sep 2007 20:44:28 +0000 (20:44 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 21 Sep 2007 20:44:28 +0000 (20:44 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4690 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/xbt/dynar.c

index 8414788..335f862 100644 (file)
@@ -523,7 +523,6 @@ xbt_dynar_search(xbt_dynar_t  const dynar,
    
   _dynar_unlock(dynar);
   THROW2(not_found_error,0,"Element %p not part of dynar %p",elem,dynar);
-  return -1;
 }
 
 /** @brief Returns a boolean indicating whether the element is part of the dynar */