From: Igor Sugak Date: Mon, 1 Feb 2016 22:35:10 +0000 (-0800) Subject: folly: fix one more -Wunused-parameter X-Git-Tag: deprecate-dynamic-initializer~111 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=cdadb0471dd8ed3ca41612dcd3ba30265403f34d;p=folly.git folly: fix one more -Wunused-parameter Summary: The usage is guarded by a preprocessor macro, and I didn't noticed this earlier. Reviewed By: yfeldblum Differential Revision: D2887016 fb-gh-sync-id: 791c4d16475aab77235792953997a281354018e9 --- diff --git a/folly/io/async/AsyncSSLSocket.cpp b/folly/io/async/AsyncSSLSocket.cpp index 564438c6..b0e54e67 100644 --- a/folly/io/async/AsyncSSLSocket.cpp +++ b/folly/io/async/AsyncSSLSocket.cpp @@ -824,6 +824,7 @@ bool AsyncSSLSocket::getSelectedNextProtocolNoThrow( } return true; #else + (void)protoType; return false; #endif }