]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rc/test/osdc/object_cacher_stress.cc: fix comparison 15353/head
authorWillem Jan Withagen <wjw@digiware.nl>
Mon, 29 May 2017 21:06:46 +0000 (23:06 +0200)
committerWillem Jan Withagen <wjw@digiware.nl>
Fri, 2 Jun 2017 09:50:07 +0000 (11:50 +0200)
commit90dc421cac5061767c4c5d812ed510cf2df4298e
tree686079ed57a5bc24040e573d93eb0785952e355b
parent371f227f10f6f01c25888137f5ea27f8dd332c90
rc/test/osdc/object_cacher_stress.cc: fix comparison

Clang complains:
  /home/jenkins/workspace/ceph-freebsd/src/test/osdc/object_cacher_stress.cc:50:26: error: ordered comparison between pointer and zero ('std::atomic<unsigned int> *' and 'int')
      assert(m_outstanding > 0);
               ~~~~~~~~~~~~~ ^ ~
  /home/jenkins/workspace/ceph-freebsd/src/include/assert.h:117:5: note: expanded from macro 'assert'
    ((expr)                                                               \
        ^~~~
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
src/test/osdc/object_cacher_stress.cc