]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test/osd/TestRados.cc: silence a compiler warning 9448/head
authorKefu Chai <kchai@redhat.com>
Thu, 2 Jun 2016 03:17:36 +0000 (11:17 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 2 Jun 2016 09:00:05 +0000 (17:00 +0800)
commit922be65fab684e617b7dca9764196b458efcdb96
treea0559bb68af7721662a28c9386640893ceef6aa2
parent22b781074218bbe1ee9ea52fc17fb77be0d203c1
test/osd/TestRados.cc: silence a compiler warning

fix following warning by returning `nullptr` after an assert(0).
```
ceph/src/test/osd/TestRados.cc: In member function ‘TestOp*
WeightedTestGenerator::gen_op(RadosTestContext&, TestOpType)’:
ceph/src/test/osd/TestRados.cc:241:3: warning: control reaches
end of non-void function [-Wreturn-type]
   }
```

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/test/osd/TestRados.cc