Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Prefer nullptr and bool literals.
[simgrid.git] / src / smpi / colls / allgatherv / allgatherv-mpich-ring.cpp
index 7855b11..026e817 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2019. The SimGrid Team.
+/* Copyright (c) 2013-2020. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -34,7 +34,7 @@ int allgatherv__mpich_ring(const void *sendbuf, int sendcount,
                            MPI_Comm comm)
 {
 
-  char * sbuf = NULL, * rbuf = NULL;
+  char *sbuf = nullptr, *rbuf = nullptr;
   int soffset, roffset;
   int torecv=0, tosend=0, min, rank, comm_size;
   int sendnow, recvnow;