Fix all warnings

This commit is contained in:
Michael Snoyman 2012-01-10 12:13:26 +02:00
parent 2a903feca1
commit 07a408951b
2 changed files with 7 additions and 1 deletions

View File

@ -62,6 +62,12 @@ newOAuth :: OAuth
newOAuth = OAuth { oauthSignatureMethod = HMACSHA1
, oauthCallback = Nothing
, oauthRealm = Nothing
, oauthServerName = error "oauthServerName"
, oauthRequestUri = error "oauthRequestUri"
, oauthAccessTokenUri = error "oauthAccessTokenUri"
, oauthAuthorizeUri = error "oauthAuthorizeUri"
, oauthConsumerKey = error "oauthConsumerKey"
, oauthConsumerSecret = error "oauthConsumerSecret"
}
-- | Data type for signature method.

View File

@ -17,7 +17,7 @@ import Data.Text.Encoding.Error (lenientDecode)
import Data.Text.Lazy (toStrict)
import Network.HTTP.Conduit
( parseUrl, urlEncodedBody, responseBody, httpLbs
, HttpException, Manager
, Manager
)
import Data.Conduit (ResourceT, ResourceIO)
import Control.Arrow ((***), second)