]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson: fix a warning in PG::with_lock_obc(). 38210/head
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Fri, 20 Nov 2020 11:52:01 +0000 (12:52 +0100)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Fri, 20 Nov 2020 11:54:12 +0000 (12:54 +0100)
commitf9d69d45246b039a2b7a3e39c336421b2e2840f1
tree46d5b4af745e5e43ca16088c50f4f2282c36df72
parent1523bf9bdba3b2ee28f48788f91fd89f09fbed6c
crimson: fix a warning in PG::with_lock_obc().

Without the fix, on a build with `NDEBUG` set,
GCC complains:

```
crimson/osd/pg.cc:869:35: warning: control reaches end of non-void function [-Wreturn-type]
  869 |   const hobject_t oid = get_oid(*m);
```

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
src/crimson/osd/pg.cc