git.samba.org
/
kamenim
/
samba-autobuild
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix some "set but never used" warnings
[kamenim/samba-autobuild/.git]
/
source3
/
modules
/
vfs_streams_xattr.c
diff --git
a/source3/modules/vfs_streams_xattr.c
b/source3/modules/vfs_streams_xattr.c
index 87bcf22fb365db4b4e85bea74ff25e2587157e3f..7ce90ab30bec54ce7b0a7ca7e1aa35e56328638b 100644
(file)
--- a/
source3/modules/vfs_streams_xattr.c
+++ b/
source3/modules/vfs_streams_xattr.c
@@
-618,6
+618,10
@@
static ssize_t streams_xattr_pwrite(vfs_handle_struct *handle,
TALLOC_FREE(ea.value.data);
+ if (ret == -1) {
+ return -1;
+ }
+
return n;
}