[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.2a2-83-g580d9ce

Service Account noreply at mpich.org
Thu Dec 18 13:24:52 CST 2014


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  580d9ce8907143a68768079eae1af334fccdabdb (commit)
      from  b05a26f93ea15d1c538ae2db760df3c0f55dc0e5 (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/580d9ce8907143a68768079eae1af334fccdabdb

commit 580d9ce8907143a68768079eae1af334fccdabdb
Author: Ken Raffenetti <raffenet at mcs.anl.gov>
Date:   Wed Dec 10 10:26:22 2014 -0800

    hydra: fix zero-length format string warnings
    
    Signed-off-by: Junchao Zhang <jczhang at mcs.anl.gov>

diff --git a/src/pm/hydra/ui/mpich/utils.c b/src/pm/hydra/ui/mpich/utils.c
index 7941673..d72172f 100644
--- a/src/pm/hydra/ui/mpich/utils.c
+++ b/src/pm/hydra/ui/mpich/utils.c
@@ -151,7 +151,7 @@ static HYD_status help_fn(char *arg, char ***argv)
     HYD_status status = HYD_SUCCESS;
 
     help_help_fn();
-    HYDU_ERR_SETANDJUMP(status, HYD_GRACEFUL_ABORT, "");
+    HYDU_ERR_SETANDJUMP(status, HYD_GRACEFUL_ABORT, "%s", "");
 
   fn_exit:
     return status;
@@ -1227,7 +1227,7 @@ static HYD_status info_fn(char *arg, char ***argv)
                        "    Demux engines available:                 %s\n",
                        HYDRA_AVAILABLE_DEMUXES);
 
-    HYDU_ERR_SETANDJUMP(status, HYD_GRACEFUL_ABORT, "");
+    HYDU_ERR_SETANDJUMP(status, HYD_GRACEFUL_ABORT, "%s", "");
 
   fn_exit:
     return status;
diff --git a/src/pm/hydra/utils/args/args.c b/src/pm/hydra/utils/args/args.c
index 56a5571..929d7e0 100644
--- a/src/pm/hydra/utils/args/args.c
+++ b/src/pm/hydra/utils/args/args.c
@@ -144,7 +144,7 @@ static HYD_status match_arg(char ***argv_p, struct HYD_arg_match_table *match_ta
                 }
                 else {
                     m->help_fn();
-                    HYDU_ERR_SETANDJUMP(status, HYD_GRACEFUL_ABORT, "");
+                    HYDU_ERR_SETANDJUMP(status, HYD_GRACEFUL_ABORT, "%s", "");
                 }
             }
 
diff --git a/src/pm/hydra/utils/string/string.c b/src/pm/hydra/utils/string/string.c
index b2083dc..841177c 100644
--- a/src/pm/hydra/utils/string/string.c
+++ b/src/pm/hydra/utils/string/string.c
@@ -89,7 +89,7 @@ HYD_status HYDU_strsplit(char *str, char **str1, char **str2, char sep)
     HYDU_FUNC_ENTER();
 
     if (str == NULL)
-        HYDU_ERR_SETANDJUMP(status, HYD_INTERNAL_ERROR, "");
+        HYDU_ERR_SETANDJUMP(status, HYD_INTERNAL_ERROR, "%s", "");
 
     *str1 = HYDU_strdup(str);
     for (i = 0; (*str1)[i] && ((*str1)[i] != sep); i++);

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

Summary of changes:
 src/pm/hydra/ui/mpich/utils.c      |    4 ++--
 src/pm/hydra/utils/args/args.c     |    2 +-
 src/pm/hydra/utils/string/string.c |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
MPICH primary repository


More information about the commits mailing list