fix build warning
authorJoey Hess <joeyh@joeyh.name>
Tue, 26 Mar 2024 18:13:59 +0000 (14:13 -0400)
committerJoey Hess <joeyh@joeyh.name>
Tue, 26 Mar 2024 18:13:59 +0000 (14:13 -0400)
commite23721f57925d2fe9724edc7f2de02c852ffafdd
tree3e363e8682069dfc2833d4c12d4cb070e2e9f432
parentf601e06b90a54606facab3a63d66d7cfaf293466
fix build warning

A recent change made plumbing the backend through fsck unncessary.

Left fsck checking backend and skipping operating on key when it could
not find one. Not checking the backend would be a behavior change.
For example the command git-annex fsck --key FOO--bar does nothing
since FOO is not a known backend. If this were removed it would
instead go on and fsck it and warn that no copies exist of the key.
That behavior change seems like it would be fine, but I also have no
reason to make it.
Command/Fsck.hs