]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
obj_bencher: remove excess 'object_size = op_size'
authorDmitry Yatsushkevich <dyatsushkevich@mirantis.com>
Mon, 30 Mar 2015 22:23:13 +0000 (15:23 -0700)
committerDmitry Yatsushkevich <dmitry.yatsushkevich@gmail.com>
Tue, 5 May 2015 21:50:01 +0000 (14:50 -0700)
commit1d1d0aa01b944e8f9dad96b7f13bce2a581ba758
tree2b11cdc97fbe3bf6f01435020e11ed1cdceb08ed
parent31d16e90108a741e92f897e550a8bf1e26392d2d
obj_bencher: remove excess 'object_size = op_size'

Remove excess branch 'else {object_size = op_size;}' from
'if(operation != OP_WRITE){...}else{object_size = op_size;}' because
'object_size' variable already initialized with 'op_size'

Signed-off-by: Dmitry Yatsushkevich <dyatsushkevich@mirantis.com>
src/common/obj_bencher.cc