]> git.ipfire.org Git - thirdparty/libbsd.git/commit
pwcache: Do not declare uidtb and gidtb when not used
authorGuillem Jover <guillem@hadrons.org>
Thu, 27 Jul 2023 11:57:51 +0000 (13:57 +0200)
committerGuillem Jover <guillem@hadrons.org>
Tue, 5 Sep 2023 01:02:20 +0000 (03:02 +0200)
commit6777eb62b8ee2b569454dc9b1d27e51a7dbf8764
tree6a20c46d7f1f5c3cd5a5e84b8405c9f3cd44335d
parentd4e0cdc916476fb774b02a7da606e30e367f3f42
pwcache: Do not declare uidtb and gidtb when not used

When the system provides implementations for user_from_uid() or
group_from_gid() we are not using these variables, so better not declare
them.

Fixes: commit 21d12b02112097f0c195dceb1892c95b7b957b36
src/pwcache.c