]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
common: fix log warnings
authorxie xingguo <xie.xingguo@zte.com.cn>
Sat, 1 Jul 2017 07:20:30 +0000 (15:20 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Sat, 1 Jul 2017 07:24:22 +0000 (15:24 +0800)
commit01d7fbe102d9ee5c0f3103226a6be80533eb9f6b
treeb210ee7347d138916c470039cd000013a117abbe
parentef2564b9a955859fccd4c354564806a5744d9fe6
common: fix log warnings

/home/jenkins-build/build/workspace/ceph-pull-requests/src/common/LogEntry.cc:54:24: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
   } else if (level_str == "warn" | level_str == "warning") {
                        ^
/home/jenkins-build/build/workspace/ceph-pull-requests/src/common/LogEntry.cc:56:24: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
   } else if (level_str == "error" | level_str == "err") {

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/common/LogEntry.cc