]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/PGLog: fix warning
authorSage Weil <sage@redhat.com>
Fri, 11 Mar 2016 18:29:54 +0000 (13:29 -0500)
committerSage Weil <sage@redhat.com>
Fri, 11 Mar 2016 18:29:54 +0000 (13:29 -0500)
commitf9dbf545f9e6d2593a0b2f986bdb6220688e1a4d
tree73e0fad6a3db942bad9934c63402487f9064ea2a
parent97b90e62359f7dc1f206e902692b2dc32671ae78
osd/PGLog: fix warning

osd/PGLog.h: In member function 'virtual unsigned int PGLog::get_subsys() const':
osd/PGLog.h:39:28: warning: enumeral and non-enumeral type in conditional expression [-Wextra]
     return prefix_provider ? prefix_provider->get_subsys() : ceph_subsys_osd;
                            ^

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/PGLog.h