X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/16673e04b393c2d8c031d0d77ec318ac2c711f4e..7233106ddd4d22acaefbba0e6167350caaafe65d:/src/xbt/exception.cpp diff --git a/src/xbt/exception.cpp b/src/xbt/exception.cpp index 4fd03bc71a..eb4878a134 100644 --- a/src/xbt/exception.cpp +++ b/src/xbt/exception.cpp @@ -65,7 +65,6 @@ const char* xbt_ex_catname(xbt_errcat_t cat) default: return "INVALID ERROR"; } - return "INVALID ERROR"; } namespace simgrid { @@ -146,7 +145,7 @@ static void handler() std::abort(); } - catch (simgrid::kernel::context::Context::StopRequest& e) { + catch (simgrid::kernel::context::StopRequest& e) { XBT_ERROR("Received a StopRequest at the top-level exception handler. Maybe a Java->C++ call that is not protected " "in a try/catch?"); show_backtrace(bt);