Author: trasz
Date: Thu Jun  3 14:27:18 2010
New Revision: 208784
URL: http://svn.freebsd.org/changeset/base/208784

Log:
  Fix usage of uninitialized variable.
  
  Found with:   Coverity Prevent
  CID:          7517
  MFC after:    2 weeks

Modified:
  head/lib/libc/posix1e/acl_strip.c

Modified: head/lib/libc/posix1e/acl_strip.c
==============================================================================
--- head/lib/libc/posix1e/acl_strip.c   Thu Jun  3 14:16:58 2010        
(r208783)
+++ head/lib/libc/posix1e/acl_strip.c   Thu Jun  3 14:27:18 2010        
(r208784)
@@ -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) {
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to