]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: silence gcc -Wparentheses warning 4534/head
authorKefu Chai <kchai@redhat.com>
Mon, 4 May 2015 06:45:11 +0000 (14:45 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 4 May 2015 13:49:02 +0000 (21:49 +0800)
commit9209a8f2cf3a7ae83dfdf1a6c8c99a8e301aa079
treee708e0a8778e40da49ee9a42b33bf73ec610e70e
parent5a6140f4bf8f6fc46ff4be1052c82283f27d328f
osd: silence gcc -Wparentheses warning

otherwise we have following warning:
warning: suggest parentheses around operand of ‘!’ or change ‘|’ to
‘||’ or ‘!’ to ‘~’ [-Wparentheses]

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