From 3595dde56571b9bca8bea7bd0999f76b1fd42219 Mon Sep 17 00:00:00 2001 From: Mark Nelson Date: Wed, 18 Apr 2018 14:23:13 -0500 Subject: [PATCH] include/cache: -Werror=unused-parameter fix for noop Signed-off-by: Mark Nelson --- include/rocksdb/cache.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/rocksdb/cache.h b/include/rocksdb/cache.h index 66df9c91..46661c79 100644 --- a/include/rocksdb/cache.h +++ b/include/rocksdb/cache.h @@ -189,6 +189,7 @@ class Cache { // Set the high priority pool ratio virtual void SetHighPriPoolRatio(double high_pri_pool_ratio) { // default implementation is noop + (void)high_pri_pool_ratio; } // Get the flag whether to return error on insertion when cache reaches its -- 2.47.3