]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw_admin.cc: remove redundant check
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Fri, 13 Oct 2017 19:49:15 +0000 (21:49 +0200)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Wed, 25 Oct 2017 16:14:05 +0000 (18:14 +0200)
commitb2e9c8d8d5f068d771d7a5631700d597b98a42c8
tree285c805131312f3e0b619a162f079d0fa05ab9cb
parentd5419143ac5ab0ad8d9e31bd251978b4d9355e46
rgw_admin.cc: remove redundant check

Fix for:

[src/rgw/rgw_admin.cc:4228]: (style) Redundant condition:
 If 'ret < 0', the comparison 'ret' is always true.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/rgw/rgw_admin.cc