Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
c9ed01b0
Commit
c9ed01b0
authored
Dec 20, 2009
by
Sergei Trofimovich
Browse files
Distribution/Client/Setup.hs: suppress warning (unused variable)
parent
2e94bdd4
Changes
1
Hide whitespace changes
Inline
Side-by-side
cabal-install/Distribution/Client/Setup.hs
View file @
c9ed01b0
...
...
@@ -867,7 +867,7 @@ readRepo = readPToMaybe parseRepo
parseRepo
::
Parse
.
ReadP
r
RemoteRepo
parseRepo
=
do
name
<-
Parse
.
munch1
(
\
c
->
isAlphaNum
c
||
c
`
elem
`
"_-."
)
Parse
.
char
':'
_
<-
Parse
.
char
':'
uriStr
<-
Parse
.
munch1
(
\
c
->
isAlphaNum
c
||
c
`
elem
`
"+-=._/*()@'$:;&!?~"
)
uri
<-
maybe
Parse
.
pfail
return
(
parseAbsoluteURI
uriStr
)
return
$
RemoteRepo
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment