folly: build with -Wunused-parameter
[folly.git] / folly / ApplyTuple.h
index a592704f080883a3a48433984e8fcb15e37d8d41..1cc398a74b950abe008c21a6bff4cb6e149cdcc9 100644 (file)
@@ -81,10 +81,10 @@ struct CallTuple {
     );
   }
 
-  template<class F, class Tuple, class ...Unpacked>
+  template <class F, class Tuple, class... Unpacked>
   static typename std::enable_if<ExprIsUnpacked<Tuple, Unpacked...>::value,
-    Ret
-  >::type call(const F& f, Tuple&& t, Unpacked&&... unp) {
+                                 Ret>::type
+  call(const F& f, Tuple&& /* t */, Unpacked&&... unp) {
     return makeCallable(f)(std::forward<Unpacked>(unp)...);
   }
 };