Skip to content

Commit

Permalink
removing warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
kazu-yamamoto committed Dec 18, 2024
1 parent 431d166 commit 0d7ac07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tls/util/Common.hs
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,9 @@ printGroups = do
split :: Char -> String -> [String]
split _ "" = []
split c s = case break (c ==) s of
("", r) -> split c (tail r)
("", _ : rs) -> split c rs
(s', "") -> [s']
(s', r) -> s' : split c (tail r)
(s', _ : rs) -> s' : split c rs

getCertificateStore :: [FilePath] -> IO CertificateStore
getCertificateStore [] = getSystemCertificateStore
Expand Down

0 comments on commit 0d7ac07

Please sign in to comment.