folly: build with -Wunused-parameter
[folly.git] / folly / ThreadName.h
index cd839594bf0f09d7c5fd45c2f09a23358358c377..2e028d7aa43443c98eb30ba2bf7bcf9b8ef0b5c4 100644 (file)
@@ -31,7 +31,7 @@ namespace folly {
 #endif
 
 template <typename T>
-inline bool setThreadName(T id, StringPiece name) {
+inline bool setThreadName(T /* id */, StringPiece /* name */) {
   static_assert(
       std::is_same<T, pthread_t>::value ||
       std::is_same<T, std::thread::native_handle_type>::value,