SonarQube reveal two issues (could be refactored):
-
Delete this unreachable code or refactor the code to make it reachable (in both variants of validation crc/sha we have return statements):
-
This branch duplicates the one on line 268.
|
elif attr == "_packfile_checksum": |
and
|
if attr == "_packfile_checksum": |