From 26f044985faa2f6494d9f153cd2d95ed27c042d2 Mon Sep 17 00:00:00 2001 From: trasz Date: Thu, 3 Jun 2010 14:27:18 +0000 Subject: Fix usage of uninitialized variable. Found with: Coverity Prevent CID: 7517 MFC after: 2 weeks --- lib/libc/posix1e/acl_strip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libc/posix1e') 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) { -- cgit v1.1