Fix unused parameter errors under -Werror
authorMarcus Holland-Moritz <mhx@fb.com>
Thu, 28 Jan 2016 16:05:32 +0000 (08:05 -0800)
committerfacebook-github-bot-0 <folly-bot@fb.com>
Thu, 28 Jan 2016 16:20:24 +0000 (08:20 -0800)
commit4a61b67ff129225de3c3ddbaecb2daee7a4f6a3a
tree1e7c3a19461726dc2ac8120b8ab6b50c10a97701
parenta1614feea3f3c0beb75fb2dc43ec45b3e5d57223
Fix unused parameter errors under -Werror

Summary:
D2872406 enables -Werror=unused-parameter, which in conjunction with mode/opt
(which eliminates asserts) causes two files in folly/io/async to fail to compile.
This change works around the error.

Reviewed By: vchalyshev

Differential Revision: D2874625

fb-gh-sync-id: 97104679f964390c5df88ee7831af7df243a152a
folly/io/async/AsyncTimeout.cpp
folly/io/async/EventHandler.cpp