diff options
author | Tim Prouty <tprouty@samba.org> | 2008-10-08 16:48:16 -0700 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2008-10-15 18:05:53 +0200 |
commit | 94553dd1eb5774543fd3bf3c7a385be952d0ee72 (patch) | |
tree | 296c035e87d67658aef8284041b544a77f670713 /source/modules | |
parent | 833a9f5f57933cab0ebf480212f016f70696a150 (diff) | |
download | samba-94553dd1eb5774543fd3bf3c7a385be952d0ee72.tar.gz samba-94553dd1eb5774543fd3bf3c7a385be952d0ee72.tar.xz samba-94553dd1eb5774543fd3bf3c7a385be952d0ee72.zip |
Fixed "might be uninitialized" warning
(cherry picked from commit 1f95d82dd1b86e308d75e9f755f83c34e6ceb28d)
Diffstat (limited to 'source/modules')
-rw-r--r-- | source/modules/vfs_acl_xattr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/modules/vfs_acl_xattr.c b/source/modules/vfs_acl_xattr.c index 106c33e3c86..3ee8849116d 100644 --- a/source/modules/vfs_acl_xattr.c +++ b/source/modules/vfs_acl_xattr.c @@ -89,7 +89,7 @@ static NTSTATUS get_acl_blob(TALLOC_CTX *ctx, uint8_t *val = NULL; uint8_t *tmp; ssize_t sizeret; - int saved_errno; + int saved_errno = 0; ZERO_STRUCTP(pblob); @@ -277,7 +277,7 @@ static NTSTATUS store_acl_blob(files_struct *fsp, DATA_BLOB *pblob) { int ret; - int saved_errno; + int saved_errno = 0; DEBUG(10,("store_acl_blob: storing blob length %u on file %s\n", (unsigned int)pblob->length, fsp->fsp_name)); |