]> git.ipfire.org Git - thirdparty/util-linux.git/commit
unshare: cleanup capabilities code [lgtm scan]
authorKarel Zak <kzak@redhat.com>
Tue, 3 Dec 2019 14:15:22 +0000 (15:15 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 3 Dec 2019 14:15:22 +0000 (15:15 +0100)
commitac0391cc4f22e0892f2129f32285dcdfc542cfe0
treee343638cf910f5898b5e54950c39f9965775d010
parentb4251e515139cb6a1e0b595933420eb726b582de
unshare: cleanup capabilities code [lgtm scan]

- remove C++isms
- remove unnecessary { }
- remove if-if
- remove unnecessary condition

Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/unshare.c