Skip to content

Commit

Permalink
Fix a warning.
Browse files Browse the repository at this point in the history
"Pattern matches are overlapped."
  • Loading branch information
23Skidoo committed Aug 2, 2015
1 parent 03b3754 commit 5e18ecf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Network/Socket/Types.hsc
Original file line number Diff line number Diff line change
Expand Up @@ -834,7 +834,10 @@ isSupportedSockAddr addr = case addr of
#if defined(CAN_SOCKET_SUPPORT)
SockAddrCan{} -> True
#endif
#if !(defined(IPV6_SOCKET_SUPPORT) \
&& defined(DOMAIN_SOCKET_SUPPORT) && defined(CAN_SOCKET_SUPPORT))
_ -> False
#endif

#if defined(WITH_WINSOCK) || defined(cygwin32_HOST_OS)
type CSaFamily = (#type unsigned short)
Expand Down

0 comments on commit 5e18ecf

Please sign in to comment.