From acddff27a10d42041457b22aa4c59342695b9d4c Mon Sep 17 00:00:00 2001 From: Augustin Degomme Date: Thu, 17 Jul 2014 18:15:02 +0200 Subject: [PATCH] remove warning with mc --- teshsuite/smpi/mpich3-test/coll/bcastzerotype.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.20.1