summaryrefslogtreecommitdiff
path: root/Command/AddUrl.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-04-01 23:14:51 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-04-01 23:14:51 -0400
commit14df22fa31b43441232e18ec9112d7c2ce2e0905 (patch)
treedfb0c88a613841db0213e0d36b2e43f6284dbf6b /Command/AddUrl.hs
parent716e69527522afaa3f5b5a836f4f878d4a374b01 (diff)
remove unused param
Diffstat (limited to 'Command/AddUrl.hs')
-rw-r--r--Command/AddUrl.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Command/AddUrl.hs b/Command/AddUrl.hs
index ab6b9b8df..5defc52d9 100644
--- a/Command/AddUrl.hs
+++ b/Command/AddUrl.hs
@@ -64,10 +64,10 @@ seek us = do
r <- Remote.claimingUrl u
if Remote.uuid r == webUUID || raw
then void $ commandAction $ startWeb relaxed optfile pathdepth u
- else checkUrl r u optfile relaxed raw pathdepth
+ else checkUrl r u optfile relaxed pathdepth
-checkUrl :: Remote -> URLString -> Maybe FilePath -> Bool -> Bool -> Maybe Int -> Annex ()
-checkUrl r u optfile relaxed raw pathdepth = do
+checkUrl :: Remote -> URLString -> Maybe FilePath -> Bool -> Maybe Int -> Annex ()
+checkUrl r u optfile relaxed pathdepth = do
pathmax <- liftIO $ fileNameLengthLimit "."
let deffile = fromMaybe (urlString2file u pathdepth pathmax) optfile
go deffile =<< maybe