A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'coverity_scan' of github.com:mquinson/simgrid
[simgrid.git]
/
teshsuite
/
smpi
/
mpich3-test
/
coll
/
bcastzerotype.c
diff --git
a/teshsuite/smpi/mpich3-test/coll/bcastzerotype.c
b/teshsuite/smpi/mpich3-test/coll/bcastzerotype.c
index 59f2a5bb1be3d3c3a1944996afade592f3df1058..166647879aa74d6dbef78ee6f8e1015ab2d001da 100644
(file)
--- 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;