git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ca0f14
)
s3:vfs_fruit fix a compiler warning
author
Christian Ambach
<ambi@samba.org>
Mon, 8 Feb 2016 22:22:26 +0000
(23:22 +0100)
committer
Andreas Schneider
<asn@cryptomilk.org>
Fri, 12 Feb 2016 08:01:14 +0000
(09:01 +0100)
about a potentially uninitialized variable
Signed-off-by: Christian Ambach <ambi@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/modules/vfs_fruit.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_fruit.c
b/source3/modules/vfs_fruit.c
index cb0d2848fa319cd98a7f8dd2ac669e1aa86632f5..e33521eafff300e1a44d944c3f0c4de308f90a83 100644
(file)
--- a/
source3/modules/vfs_fruit.c
+++ b/
source3/modules/vfs_fruit.c
@@
-2630,7
+2630,7
@@
static ssize_t fruit_pread(vfs_handle_struct *handle,
handle, fsp);
struct fruit_config_data *config = NULL;
AfpInfo *ai = NULL;
- ssize_t len;
+ ssize_t len
= -1
;
char *name = NULL;
char *tmp_base_name = NULL;
NTSTATUS status;