X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7ac4abc35931448d0bbc5f3c1260320dfe4110c9..61427a88a76a2c2ef25d0d5b8132995c6f550e5c:/src/instr/instr_paje_types.cpp?ds=sidebyside diff --git a/src/instr/instr_paje_types.cpp b/src/instr/instr_paje_types.cpp index 56fa62b81e..02c935cf5d 100644 --- a/src/instr/instr_paje_types.cpp +++ b/src/instr/instr_paje_types.cpp @@ -136,7 +136,7 @@ type_t PJ_type_container_new (const char *name, type_t father) } type_t PJ_type_event_new (const char *name, type_t father) -{ +{ if (name == nullptr){ THROWF (tracing_error, 0, "can't create an event type with a nullptr name"); }