From: Arnaud Giersch Date: Wed, 13 Jun 2012 16:04:45 +0000 (+0200) Subject: [trace] test is obviously redundant here. X-Git-Tag: v3_8~627 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/0818ce4261f0fa7f8d872767471e4c2654458eb9?hp=4703f3b61b5b80fc392e35c833e82b202c5c04d3 [trace] test is obviously redundant here. --- diff --git a/src/instr/instr_paje_values.c b/src/instr/instr_paje_values.c index 792438350c..382cfff2ff 100644 --- a/src/instr/instr_paje_values.c +++ b/src/instr/instr_paje_values.c @@ -38,10 +38,10 @@ val_t PJ_value_get (const char *name, type_t father) if (father->kind == TYPE_VARIABLE) return NULL; //Variables can't have different values val_t ret = (val_t)xbt_dict_get_or_null (father->values, name); - if (ret == NULL){ - if (ret == NULL){ - THROWF (tracing_error, 2, "value with name (%s) not found in father type (%s)", name, father->name); - } + if (ret == NULL) { + THROWF(tracing_error, 2, + "value with name (%s) not found in father type (%s)", + name, father->name); } return ret; }