[Darshan-commits] [Git][darshan/darshan][master] 2 commits: cleanup darshan-util compiler warnings

Shane Snyder xgitlab at cels.anl.gov
Mon Jun 8 11:57:26 CDT 2020



Shane Snyder pushed to branch master at darshan / darshan


Commits:
e71c8faa by Shane Snyder at 2020-06-08T11:56:19-05:00
cleanup darshan-util compiler warnings

- - - - -
c1348603 by Shane Snyder at 2020-06-08T11:57:24-05:00
Merge branch 'dev-fix-darshan-util-warnings' into 'master'

fix darshan-util compiler warnings

See merge request darshan/darshan!58
- - - - -


2 changed files:

- darshan-util/darshan-logutils.c
- darshan-util/darshan-logutils.h


Changes:

=====================================
darshan-util/darshan-logutils.c
=====================================
@@ -1915,7 +1915,7 @@ void darshan_log_get_name_records(darshan_fd fd,
     if(ret < 0)
     {
         darshan_log_close(fd);
-        return(-1);
+        return;
     }
 
     int num = HASH_CNT(hlink, name_hash);


=====================================
darshan-util/darshan-logutils.h
=====================================
@@ -70,7 +70,7 @@ struct darshan_mnt_info
 
 struct darshan_mod_info
 {
-    char *name;
+    const char *name;
     int  len;
     int  ver;
     int  idx;



View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/compare/b8119126ddc1c1e474b392ece3f0652573de77d9...c1348603c79d372be8353272f5c0b18ecffe37c6

-- 
View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/compare/b8119126ddc1c1e474b392ece3f0652573de77d9...c1348603c79d372be8353272f5c0b18ecffe37c6
You're receiving this email because of your account on xgitlab.cels.anl.gov.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/darshan-commits/attachments/20200608/9e4355ca/attachment-0001.html>


More information about the Darshan-commits mailing list