Fix unused variable error in AsyncUDPSocket
Summary: Some OSes do not define `IP_MTU_DISCOVER` or `IPV6_MTU_DISCOVER`. As such, this would result in the function argument parameter `df` being unused, which is a warning that is then treated as an error. Earlier today (2806dda4), this logic was added about setting the DF which broke Mac builds. Closes https://github.com/facebook/folly/pull/791 Reviewed By: igorsugak Differential Revision: D7116863 Pulled By: yfeldblum fbshipit-source-id: 5092891c8977a44ab58723f8cef352dd4eaa1210
Showing
Please register or sign in to comment