]> git.ipfire.org Git - thirdparty/util-linux.git/commit
mount: improve code readability
authorKarel Zak <kzak@redhat.com>
Tue, 23 May 2023 08:47:18 +0000 (10:47 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 23 May 2023 08:47:18 +0000 (10:47 +0200)
commita5eba5046da6893e360b2e3e1193d1583d25e12c
treeb4f7b573f3781f01d9a7a3179417bac86a837b37
parenta5e0e06cc2ff05f01a3fcf799a5f2c2fe6fb217f
mount: improve code readability

Static analyzers (e.g., Coverity) have a hard time understanding why
'optarg' is tested for NULL, and later in another place, code assumes
that it's non-NULL. For idmapping, the optarg is required.

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