git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
646df8b
)
Fixed "might be uninitialized" warning
author
Tim Prouty
<tprouty@samba.org>
Wed, 8 Oct 2008 03:16:04 +0000
(20:16 -0700)
committer
Tim Prouty
<tprouty@samba.org>
Wed, 8 Oct 2008 23:38:38 +0000
(16:38 -0700)
source3/modules/vfs_acl_xattr.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_acl_xattr.c
b/source3/modules/vfs_acl_xattr.c
index b641195fd79f4fe320c6c19c5e0352af983a7417..241751c6a6f8a8d4f6bffdc9ccbb6c802708a958 100644
(file)
--- a/
source3/modules/vfs_acl_xattr.c
+++ b/
source3/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));