git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31f1a36
)
s4-pvfs: another uninitialised variable
author
Andrew Tridgell
<tridge@samba.org>
Mon, 19 Oct 2009 01:59:49 +0000
(12:59 +1100)
committer
Andrew Tridgell
<tridge@samba.org>
Mon, 19 Oct 2009 02:51:17 +0000
(13:51 +1100)
thanks to valgrind for this one
source4/ntvfs/posix/pvfs_unlink.c
patch
|
blob
|
history
diff --git
a/source4/ntvfs/posix/pvfs_unlink.c
b/source4/ntvfs/posix/pvfs_unlink.c
index e10b2e3eef8a32a521bb7652611f4603ef8b8491..67e7d76b47f6fbd116dccd84f6523b4fdce68c87 100644
(file)
--- a/
source4/ntvfs/posix/pvfs_unlink.c
+++ b/
source4/ntvfs/posix/pvfs_unlink.c
@@
-109,7
+109,7
@@
static NTSTATUS pvfs_unlink_setup_retry(struct ntvfs_module_context *ntvfs,
static NTSTATUS pvfs_unlink_file(struct pvfs_state *pvfs,
struct pvfs_filename *name)
{
- NTSTATUS status;
+ NTSTATUS status
= NT_STATUS_OK
;
if (name->dos.attrib & FILE_ATTRIBUTE_DIRECTORY) {
return NT_STATUS_FILE_IS_A_DIRECTORY;