[Darshan-commits] [Darshan] branch, dev-modular, updated. darshan-2.3.1-66-gc8026d6

Service Account git at mcs.anl.gov
Wed Mar 25 09:44:34 CDT 2015


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 "".

The branch, dev-modular has been updated
       via  c8026d6b05d6c7548ba722a310b4a8ac9d739823 (commit)
      from  0448ed3c6ad5cc81e5c7800d9b605690e560e2f9 (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 -----------------------------------------------------------------
commit c8026d6b05d6c7548ba722a310b4a8ac9d739823
Author: Shane Snyder <ssnyder at mcs.anl.gov>
Date:   Wed Mar 25 09:44:17 2015 -0500

    clean up compile warnings

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

Summary of changes:
 darshan-log-format.h                |    2 +-
 darshan-runtime/lib/darshan-core.c  |    6 +-----
 darshan-runtime/lib/darshan-posix.c |    4 ----
 3 files changed, 2 insertions(+), 10 deletions(-)


Diff of changes:
diff --git a/darshan-log-format.h b/darshan-log-format.h
index dfc98ca..45bc9ba 100644
--- a/darshan-log-format.h
+++ b/darshan-log-format.h
@@ -45,7 +45,7 @@ typedef enum
     DARSHAN_PNETCDF_MOD,
 } darshan_module_id;
 
-static char *darshan_module_names[] =
+static char * const darshan_module_names[] =
 {
     "POSIX",
     "MPI-IO",
diff --git a/darshan-runtime/lib/darshan-core.c b/darshan-runtime/lib/darshan-core.c
index e969bf7..907836b 100644
--- a/darshan-runtime/lib/darshan-core.c
+++ b/darshan-runtime/lib/darshan-core.c
@@ -252,7 +252,6 @@ static void darshan_core_shutdown()
     double mod2[DARSHAN_MAX_MODS] = {0};
     double header1, header2;
     double tm_end;
-    long offset;
     uint64_t gz_fp = 0;
     uint64_t tmp_off = 0;
     MPI_File log_fh;
@@ -469,10 +468,8 @@ static void darshan_core_shutdown()
         struct darshan_core_module* this_mod = final_core->mod_array[i];
         darshan_record_id mod_shared_recs[DARSHAN_CORE_MAX_RECORDS];
         struct darshan_core_record_ref *ref = NULL;
-        int shared_rec_cnt = 0;
         void* mod_buf = NULL;
         int mod_buf_sz = 0;
-        int comp_buf_sz = 0;
         int j;
 
         if(global_mod_use_count[i] == 0)
@@ -1296,7 +1293,7 @@ static int darshan_deflate_buffer(void **pointers, int *lengths, int count,
         return(-1);
     }
 
-    tmp_stream.next_out = comp_buf;
+    tmp_stream.next_out = (unsigned char *)comp_buf;
     tmp_stream.avail_out = DARSHAN_CORE_COMP_BUF_SIZE;
 
     /* loop over the input pointers */
@@ -1357,7 +1354,6 @@ static int darshan_log_write_record_hash(MPI_File log_fh, struct darshan_core_ru
     size_t hash_buf_sz = 0;
     char *hash_buf;
     char *hash_buf_off;
-    MPI_Status status;
 
     /* allocate a buffer to store at most 64 bytes for each of a max number of records */
     /* NOTE: this buffer may be reallocated if estimate is too small */
diff --git a/darshan-runtime/lib/darshan-posix.c b/darshan-runtime/lib/darshan-posix.c
index 3248d75..3e742ed 100644
--- a/darshan-runtime/lib/darshan-posix.c
+++ b/darshan-runtime/lib/darshan-posix.c
@@ -642,9 +642,6 @@ int DARSHAN_DECL(close)(int fd)
 
 static void posix_runtime_initialize()
 {
-    char *alignstr;
-    int tmpval;
-    int ret;
     int mem_limit;
     struct darshan_module_funcs posix_mod_fns =
     {
@@ -857,7 +854,6 @@ static void posix_prepare_for_reduction(
     int *rec_size)
 {
     struct posix_file_runtime *file;
-    struct darshan_posix_file *tmp_array;
     int i;
 
     assert(posix_runtime);


hooks/post-receive
--



More information about the Darshan-commits mailing list