Adjust a few things to avoid triggering warnings under MSVC
authorChristopher Dykes <cdykes@fb.com>
Thu, 16 Feb 2017 21:10:26 +0000 (13:10 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 16 Feb 2017 21:20:02 +0000 (13:20 -0800)
commitdfc2add75af7fa3e32da8566fdb0eeca25366c79
tree595702b373536660a3488502a93488ea3692c333
parent79b78eaaf88ead9fa6543822c193b4e86d0e2395
Adjust a few things to avoid triggering warnings under MSVC

Summary: This includes both unused parameters (W4100) and conditional expression is constant (W4127).

Reviewed By: yfeldblum

Differential Revision: D4525057

fbshipit-source-id: 7c057dbe239d02fa2e3ce96373d53814591994ec
13 files changed:
folly/FBString.h
folly/MemoryMapping.cpp
folly/SharedMutex.h
folly/detail/MemoryIdler.cpp
folly/detail/SocketFastOpen.cpp
folly/io/async/AsyncSocket.cpp
folly/portability/Builtins.h
folly/portability/PThread.h
folly/portability/Sockets.cpp
folly/portability/SysMman.cpp
folly/portability/SysResource.cpp
folly/portability/SysStat.cpp
folly/portability/Unistd.cpp