]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
kv: RocksDBStore: fix compile warning
authorWanlong Gao <wanlong.gao@easystack.cn>
Wed, 29 Jun 2016 05:57:50 +0000 (13:57 +0800)
committerWanlong Gao <wanlong.gao@easystack.cn>
Wed, 29 Jun 2016 11:16:41 +0000 (19:16 +0800)
commitf3ce402fa4556063406a4b5dc58432967721dd2a
treed22cb8d88cc04eb46821a130c8eabfdd16549ca5
parent3d5fa5e470497942aeb839639d7fcb4e5180b568
kv: RocksDBStore: fix compile warning

/git/ceph/src/kv/RocksDBStore.cc:700:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
   if (valid())
   ^~
/git/ceph/src/kv/RocksDBStore.cc:702:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
     return dbiter->status().ok() ? 0 : -1;
     ^~~~~~

Signed-off-by: Wanlong Gao <wanlong.gao@easystack.cn>
src/kv/RocksDBStore.cc