From: Augustin Degomme Date: Thu, 17 Jul 2014 16:15:02 +0000 (+0200) Subject: remove warning with mc X-Git-Tag: v3_12~893^2~16 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/acddff27a10d42041457b22aa4c59342695b9d4c?hp=fc94476768af7206a06f59f3865828d0b8c02b32 remove warning with mc --- diff --git a/teshsuite/smpi/mpich3-test/coll/bcastzerotype.c b/teshsuite/smpi/mpich3-test/coll/bcastzerotype.c index 59f2a5bb1b..166647879a 100644 --- a/teshsuite/smpi/mpich3-test/coll/bcastzerotype.c +++ b/teshsuite/smpi/mpich3-test/coll/bcastzerotype.c @@ -27,7 +27,7 @@ int main(int argc, char *argv[]) /* a random non-zero sized buffer */ #define NELEM (10) buf = malloc(NELEM*sizeof(int)); - assert(buf); + assert(buf!=NULL); for (i = 0; i < NELEM; i++) { buf[i] = wrank * NELEM + i;