folly: build with -Wunused-parameter
[folly.git] / folly / detail / CacheLocality.cpp
index a6abec2ae1aabb6f454e601b34e22b1d1050dccc..f9e4609f5877afc87aed3c9894b9f8766bb1ddb7 100644 (file)
@@ -259,7 +259,7 @@ AccessSpreaderArray<std::atomic,128>
 AccessSpreaderArray<std::atomic,128>::sharedInstance = {};
 
 /// Always claims to be on CPU zero, node zero
-static int degenerateGetcpu(unsigned* cpu, unsigned* node, void* unused) {
+static int degenerateGetcpu(unsigned* cpu, unsigned* node, void* /* unused */) {
   if (cpu != nullptr) {
     *cpu = 0;
   }