[project @ 2001-08-21 09:04:22 by rrt]
authorrrt <unknown>
Tue, 21 Aug 2001 09:04:22 +0000 (09:04 +0000)
committerrrt <unknown>
Tue, 21 Aug 2001 09:04:22 +0000 (09:04 +0000)
Remove unused function isSlash

ghc/compiler/main/SysTools.lhs

index 2e0edd0..20a8099 100644 (file)
@@ -791,9 +791,6 @@ subst a b ls = map (\ x -> if x == a then b else x) ls
 slash           :: String -> String -> String
 absPath, relPath :: [String] -> String
 
-isSlash '/'   = True
-isSlash other = False
-
 relPath [] = ""
 relPath xs = foldr1 slash xs