[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.1b1-178-g05262f9
mysql vizuser
noreply at mpich.org
Fri Nov 1 11:23:46 CDT 2013
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "MPICH primary repository".
The branch, master has been updated
via 05262f9ad06aeb9b182957d530b43e7419e9e356 (commit)
from ca75e5c4df27d0a51fc5e87af13bcfcd73116b0a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.mpich.org/mpich.git/commitdiff/05262f9ad06aeb9b182957d530b43e7419e9e356
commit 05262f9ad06aeb9b182957d530b43e7419e9e356
Author: Pavan Balaji <balaji at mcs.anl.gov>
Date: Thu Oct 31 19:05:45 2013 -0500
Fix perl warnings in the C++ buildiface.
Use if (@array) format instead of if (defined(@array)) format, since
the latter is deprecated in perl.
Signed-off-by: Ken Raffenetti <raffenet at mcs.anl.gov>
diff --git a/src/binding/cxx/buildiface b/src/binding/cxx/buildiface
index 3be7c08..af42e5d 100755
--- a/src/binding/cxx/buildiface
+++ b/src/binding/cxx/buildiface
@@ -1191,7 +1191,7 @@ print $OUTFD "class File;\n\n";
# other functions.
print $OUTFD "// base (classless) routines\n";
@routines = keys(%class_mpi1base);
-if (defined(@routinesMpi1base)) {
+if (@routinesMpi1base) {
@routines = @routinesMpi1base;
}
if ($outputRoutineLists) {
@@ -1257,7 +1257,7 @@ typedef int MPI_File;\
$class_hash = "class_$mpiclass";
@routines = keys(%$class_hash);
$arrname = "routines$mpiclass";
- if (defined(@$arrname)) {
+ if (@$arrname) {
@routines = @$arrname;
}
if ($#routines < 0) { next; }
@@ -1308,7 +1308,7 @@ typedef int MPI_File;\
# Add a few more external functions (some require the above definitions)
@routines = keys(%class_mpi2base);
- if (defined(@routinesMpi2base)) {
+ if (@routinesMpi2base) {
@routines = @routinesMpi2base;
}
if ($outputRoutineLists) {
-----------------------------------------------------------------------
Summary of changes:
src/binding/cxx/buildiface | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
hooks/post-receive
--
MPICH primary repository
More information about the commits
mailing list