]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commitdiff
include/cache: -Werror=unused-parameter fix for noop
authorMark Nelson <mnelson@redhat.com>
Wed, 18 Apr 2018 19:23:13 +0000 (14:23 -0500)
committerMark Nelson <mnelson@redhat.com>
Tue, 29 May 2018 16:00:45 +0000 (11:00 -0500)
Signed-off-by: Mark Nelson <mnelson@redhat.com>
include/rocksdb/cache.h

index 66df9c91fc9fd1c1836a1e6ced090bdfa1a01383..46661c79a8abb9947dc4c8b4681fb9185641af4a 100644 (file)
@@ -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