]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
test: Incorrect conversion to double 18963/head
authoramitkuma <amitkuma@redhat.com>
Thu, 16 Nov 2017 12:00:21 +0000 (17:30 +0530)
committeramitkuma <amitkuma@redhat.com>
Thu, 16 Nov 2017 12:00:21 +0000 (17:30 +0530)
commitbd2ea56c49d34e741c26c2f0e16f6ed9517adfac
tree125832badba77abc0f1558b607f826aca482cd72
parent407238a42c111d44bffeb77678a1a72170b6ac2d
test: Incorrect conversion to double

Fixes the coverity issue:

CID 1417062 (#1 of 1): Result is not floating-point
(UNINTENDED_INTEGER_DIVISION)
integer_division: Dividing integer expressions 100 and temp
, and then converting the integer quotient to type double.
Any remainder, or fractional part of the quotient, is ignored.

Signed-off-by: Amit Kumar <amitkuma@redhat.com>
src/test/kv_store_bench.cc