From: Arnaud Giersch Date: Tue, 5 Dec 2017 21:22:43 +0000 (+0100) Subject: Add dummy instruction to please sonar. X-Git-Tag: v3.18~133 X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/6db737c47368af61478a5913db284b6e22a47d93 Add dummy instruction to please sonar. --- diff --git a/examples/s4u/energy-ptask/s4u-energy-ptask.cpp b/examples/s4u/energy-ptask/s4u-energy-ptask.cpp index e699015ed1..267be8c7db 100644 --- a/examples/s4u/energy-ptask/s4u-energy-ptask.cpp +++ b/examples/s4u/energy-ptask/s4u-energy-ptask.cpp @@ -47,6 +47,7 @@ static void runner() XBT_WARN("Woops, this did not timeout as expected... Please report that bug."); } catch (xbt_ex& e) { /* Do nothing this exception on timeout was expected */ + XBT_DEBUG("Caught expected exception: %s", e.what()); } XBT_INFO("Then, build a parallel task involving only computations and no communication (1 Gflop per node)");