From 58a485ea322cf683c4bcaa930f1bee8023e84d9f Mon Sep 17 00:00:00 2001 From: mquinson Date: Fri, 21 Sep 2007 20:44:28 +0000 Subject: [PATCH] do not return after a THROW. Fix the THROW macro if there is an issue with it under visual, but don't polute the code with such things git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4690 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- src/xbt/dynar.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/xbt/dynar.c b/src/xbt/dynar.c index 8414788c99..335f862da5 100644 --- a/src/xbt/dynar.c +++ b/src/xbt/dynar.c @@ -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 */ -- 2.20.1