diff options
author | trasz <trasz@FreeBSD.org> | 2010-06-03 14:27:18 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2010-06-03 14:27:18 +0000 |
commit | 26f044985faa2f6494d9f153cd2d95ed27c042d2 (patch) | |
tree | 4f9f0912e1629fe48c1b69514dbfefc1d5e0c9c6 /lib/libc/posix1e/acl_strip.c | |
parent | 45e71b225065e0fcf3014d806116fb4655506d8f (diff) | |
download | FreeBSD-src-26f044985faa2f6494d9f153cd2d95ed27c042d2.zip FreeBSD-src-26f044985faa2f6494d9f153cd2d95ed27c042d2.tar.gz |
Fix usage of uninitialized variable.
Found with: Coverity Prevent
CID: 7517
MFC after: 2 weeks
Diffstat (limited to 'lib/libc/posix1e/acl_strip.c')
-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 01fc71a..f86d379 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) { |