Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix warning about unused dummy argument.
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Thu, 23 Jan 2014 21:42:10 +0000 (22:42 +0100)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Thu, 23 Jan 2014 21:43:46 +0000 (22:43 +0100)
teshsuite/smpi/mpich3-test/f77/coll/exscanf.f
teshsuite/smpi/mpich3-test/f90/coll/exscanf90.f90

index 5e6f64e..27de6b9 100644 (file)
@@ -10,10 +10,12 @@ C
       integer count, datatype
       integer i
       
-!      if (datatype .ne. MPI_INTEGER) then
-!         write(6,*) 'Invalid datatype passed to user_op()'
-!         return
-!      endif
+      if (.false.) then
+         if (datatype .ne. MPI_INTEGER) then
+            write(6,*) 'Invalid datatype passed to user_op()'
+            return
+         endif
+      endif
 
       do i=1, count
          cout(i) = cin(i) + cout(i)
index 1f1ec51..59cb7e4 100644 (file)
       integer count, datatype
       integer i
       
-!      if (datatype .ne. MPI_INTEGER) then
-!         write(6,*) 'Invalid datatype passed to user_op()'
-!         return
-!      endif
+      if (.false.) then
+         if (datatype .ne. MPI_INTEGER) then
+            write(6,*) 'Invalid datatype passed to user_op()'
+            return
+         endif
+      endif
 
       do i=1, count
          cout(i) = cin(i) + cout(i)