From 954e51615023e38f0b3fa4336ef3c24c808cb391 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Tue, 27 Aug 2019 09:21:22 +0200 Subject: [PATCH] fix a bug in a deprecated function Found by a static analyzer because the function parameter was unused --- src/simix/libsmx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/simix/libsmx.cpp b/src/simix/libsmx.cpp index 5c2f919ddc..c25eee73ef 100644 --- a/src/simix/libsmx.cpp +++ b/src/simix/libsmx.cpp @@ -51,7 +51,7 @@ void simcall_process_join(smx_actor_t process, double timeout) void simcall_process_suspend(smx_actor_t process) { - SIMIX_process_self()->iface()->suspend(); + process->iface()->suspend(); } e_smx_state_t simcall_process_sleep(double duration) -- 2.20.1