mar-file-system / GUFI

Grand Unified File-Index
Other
46 stars 23 forks source link

remove unnecessary parameter from descend() #156

Closed bertschinger closed 3 months ago

bertschinger commented 3 months ago

descend() in utils.c includes an unnecessary parameter, trie_t *skip_names.

Every caller of descend() passes in this item from a struct input which is already passed as a parameter to descend().

Thus, descend()'s signature can be simplified by removing this extra parameter.

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 92.64%. Comparing base (956779f) to head (deb0f91).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #156 +/- ## ========================================== - Coverage 92.65% 92.64% -0.02% ========================================== Files 71 71 Lines 8889 8887 -2 Branches 1066 1065 -1 ========================================== - Hits 8236 8233 -3 Misses 425 425 - Partials 228 229 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.