aboutsummaryrefslogtreecommitdiff
path: root/Command
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-02-28 12:49:17 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-02-28 12:49:17 -0400
commita96b8b74311a52cc04e3d5e0d1d67628aa996693 (patch)
tree5a75db18529e00c5c46b9229fa83dedbc1a1238d /Command
parent0658d8974218cd67112bc13f77292b0e111b7d06 (diff)
squelch a couple of warnings about moveAnnex return code
Diffstat (limited to 'Command')
-rw-r--r--Command/TestRemote.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/TestRemote.hs b/Command/TestRemote.hs
index 78921b856..c8a993666 100644
--- a/Command/TestRemote.hs
+++ b/Command/TestRemote.hs
@@ -225,5 +225,5 @@ randKey sz = withTmpFile "randkey" $ \f h -> do
}
k <- fromMaybe (error "failed to generate random key")
<$> Backend.getKey Backend.Hash.testKeyBackend ks
- moveAnnex k f
+ _ <- moveAnnex k f
return k