diff options
author | Volker Lendecke <vl@samba.org> | 2008-01-20 17:35:25 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-01-20 17:44:40 +0100 |
commit | 33f3eeaa00974860dfc45962d5fd34cf05396c76 (patch) | |
tree | d826c4af466796b6adf665a6e6d66597aee50131 /source3/modules | |
parent | b1017bb551fd28d2f9562acb1ff7f0dde933417a (diff) | |
download | samba-33f3eeaa00974860dfc45962d5fd34cf05396c76.tar.gz samba-33f3eeaa00974860dfc45962d5fd34cf05396c76.tar.bz2 samba-33f3eeaa00974860dfc45962d5fd34cf05396c76.zip |
Fix some "set but never used" warnings
(This used to be commit 4a6dadc5178f4861e9c032321939db3b639734b5)
Diffstat (limited to 'source3/modules')
-rw-r--r-- | source3/modules/vfs_streams_xattr.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/modules/vfs_streams_xattr.c b/source3/modules/vfs_streams_xattr.c index 87bcf22fb3..7ce90ab30b 100644 --- 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; } |