From 147811411b3a91e010527fcb6c0343cb79e06330 Mon Sep 17 00:00:00 2001 From: Lucas Schnorr Date: Sat, 9 Apr 2011 11:55:04 +0200 Subject: [PATCH 1/1] raise exception if try to find a container that was not created --- src/instr/instr_paje.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/instr/instr_paje.c b/src/instr/instr_paje.c index 74cb8813be..0d32eda6ba 100644 --- a/src/instr/instr_paje.c +++ b/src/instr/instr_paje.c @@ -252,7 +252,7 @@ container_t getContainer (const char *name) container_t getContainerByName (const char *name) { - return (container_t)xbt_dict_get_or_null (allContainers, name); + return (container_t)xbt_dict_get (allContainers, name); } char *getContainerIdByName (const char *name) -- 2.20.1