diff options
author | trasz <trasz@FreeBSD.org> | 2010-06-11 15:21:12 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2010-06-11 15:21:12 +0000 |
commit | 14ae56e45249ff7263e0a4b2d5c298e8c6e38e23 (patch) | |
tree | e77df4293d9f5349616d565ed7ee9f6f3507d21a | |
parent | 7717b2a95944865bbf8e4a2d8c7d23e7487310f2 (diff) | |
download | FreeBSD-src-14ae56e45249ff7263e0a4b2d5c298e8c6e38e23.zip FreeBSD-src-14ae56e45249ff7263e0a4b2d5c298e8c6e38e23.tar.gz |
Fix usage of uninitialized variable.
Found with: Coverity Prevent
CID: 7517
Approved by: re (kib)
-rw-r--r-- | lib/libc/posix1e/acl_strip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/posix1e/acl_strip.c b/lib/libc/posix1e/acl_strip.c index 1dcdfcd..8aa850f 100644 --- a/lib/libc/posix1e/acl_strip.c +++ b/lib/libc/posix1e/acl_strip.c @@ -46,7 +46,7 @@ static acl_t _nfs4_acl_strip_np(const acl_t aclp, int recalculate_mask) { acl_t newacl; - mode_t mode; + mode_t mode = 0; newacl = acl_init(ACL_MAX_ENTRIES); if (newacl == NULL) { |