[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.2-192-g7295751

Service Account noreply at mpich.org
Wed Feb 17 10:56:45 CST 2016


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  72957514942eb9ad4657306f4abc52b6a142273a (commit)
      from  1946c8233aa77f4082c9754ef4a5f20b58898b2e (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/72957514942eb9ad4657306f4abc52b6a142273a

commit 72957514942eb9ad4657306f4abc52b6a142273a
Author: Rob Latham <robl at mcs.anl.gov>
Date:   Wed Feb 17 10:41:32 2016 -0600

    ensure every return case has an explicit value
    
    Coverity 123356
    Coverity 123357
    
    No Reviewer

diff --git a/src/mpi/romio/adio/common/ad_open.c b/src/mpi/romio/adio/common/ad_open.c
index 8fb3d2f..5cdb94c 100644
--- a/src/mpi/romio/adio/common/ad_open.c
+++ b/src/mpi/romio/adio/common/ad_open.c
@@ -38,6 +38,7 @@ MPI_File ADIO_Open(MPI_Comm orig_comm,
     /* obtain MPI_File handle */
     mpi_fh = MPIO_File_create(sizeof(struct ADIOI_FileD));
     if (mpi_fh == MPI_FILE_NULL) {
+	fd = MPI_FILE_NULL;
 	*error_code = MPIO_Err_create_code(*error_code,
 					   MPIR_ERR_RECOVERABLE,
 					   myname,
diff --git a/src/mpi/romio/adio/common/hint_fns.c b/src/mpi/romio/adio/common/hint_fns.c
index 5e87e88..284e4a9 100644
--- a/src/mpi/romio/adio/common/hint_fns.c
+++ b/src/mpi/romio/adio/common/hint_fns.c
@@ -148,7 +148,7 @@ fn_exit:
 int ADIOI_Info_check_and_install_str(ADIO_File fd, MPI_Info info, const char *key, 
 	char **local_cache, char *funcname, int *error_code)
 {
-    int flag, ret;
+    int flag, ret=0;
     size_t len;
     char *value;
 

-----------------------------------------------------------------------

Summary of changes:
 src/mpi/romio/adio/common/ad_open.c  |    1 +
 src/mpi/romio/adio/common/hint_fns.c |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
MPICH primary repository


More information about the commits mailing list