[Darshan-commits] [Git][darshan/darshan][master] 2 commits: MAINT: rm extraneous return

Shane Snyder xgitlab at cels.anl.gov
Tue May 11 14:42:17 CDT 2021



Shane Snyder pushed to branch master at darshan / darshan


Commits:
31db1510 by Tyler Reddy at 2021-04-21T14:56:01-06:00
MAINT: rm extraneous return

* remove a `return` statement that cannot possibly
execute inside `__deepcopy__` method of `DarshanReport`

* the [vulture](https://github.com/jendrikseipp/vulture) static
code analyzer also agrees with this assessment

- - - - -
8fc5cb2c by Shane Snyder at 2021-05-11T14:42:16-05:00
Merge branch 'treddy_deepcopy_unused_return' into 'master'

MAINT: rm extraneous return

See merge request darshan/darshan!102
- - - - -


1 changed file:

- darshan-util/pydarshan/darshan/report.py


Changes:

=====================================
darshan-util/pydarshan/darshan/report.py
=====================================
@@ -443,7 +443,6 @@ class DarshanReport(object):
 
         # TODO: might consider treating self.log as list of open logs to not deactivate load functions?
 
-        return result
 
 
     def read_metadata(self, read_all=False):



View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/-/compare/e930ea08832c47711423345470a4b82b644b3db9...8fc5cb2c57c8a5e4c0e0d613743956c93c81bea6

-- 
View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/-/compare/e930ea08832c47711423345470a4b82b644b3db9...8fc5cb2c57c8a5e4c0e0d613743956c93c81bea6
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/20210511/6e5c9428/attachment.html>


More information about the Darshan-commits mailing list