X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/94843afd4198a952b108263c631bae8869f20614..fb2c06ad23be8a12b22bdc8e77c63f4d7c61a1bb:/include/xbt/sysdep.h diff --git a/include/xbt/sysdep.h b/include/xbt/sysdep.h index a04add704d..33aefed2a4 100644 --- a/include/xbt/sysdep.h +++ b/include/xbt/sysdep.h @@ -101,7 +101,7 @@ void *xbt_malloc0(size_t n) static inline __attribute__ ((always_inline)) void *xbt_realloc(void *p, size_t s) { - void *res = res; + void *res = NULL; //if (s==0) xbt_die("realloc(0) is not portable"); if (s) { if (p) {