]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Client: get rid of variable "butnot" in "client::get_caps" 16231/head
authordongdong <tdd21151186@gmail.com>
Sun, 9 Jul 2017 14:28:03 +0000 (22:28 +0800)
committerdongdong <tdd21151186@gmail.com>
Sun, 9 Jul 2017 14:28:03 +0000 (22:28 +0800)
commit17a86ef54ae02342ca6bc3da70a7efd399fb53a1
treeb6d7b804c7fc62e64ab169bbc8535c46f136810b
parentb08b485ce8b2af9e3a15fb655e694f0e8b52bcec
Client: get rid of variable "butnot" in "client::get_caps"

Fix: the result of if condition  'revoking & butnot’ will be always same with ‘revoking & want’
     no need to introduce an extra variable.

Signed-off-by: dongdong tao <tdd21151186@gmail.com>
src/client/Client.cc