From cdbe18846eec81b99e254da78f5a6c15a8e17ac8 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Wed, 9 Nov 2011 18:08:21 +0100 Subject: [PATCH] Remove a useless xbt_assert from the critical path The error message was not more informative than a segfault will be, and user behavior cannot produce this (I think) --- src/surf/surf.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/surf/surf.c b/src/surf/surf.c index 764671ff72..d5dbc3dda7 100644 --- a/src/surf/surf.c +++ b/src/surf/surf.c @@ -218,7 +218,6 @@ double generic_maxmin_share_resources(xbt_swag_t running_actions, double value = -1; #define VARIABLE(action) (*((lmm_variable_t*)(((char *) (action)) + (offset)))) - xbt_assert(solve, "Give me a real solver function!"); solve(sys); xbt_swag_foreach(action, running_actions) { -- 2.20.1