summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-05-20 15:21:43 +0200
committerVolker Lendecke <vl@samba.org>2011-05-20 13:22:27 +0200
commitf043babcbdef26980a607de517be05092bf037a9 (patch)
tree7027942ba51e1cffff2018595d9a81ebbae965e0 /source3/smbd
parent1e472f1534985a9e70a2bed45723e08fe8dee078 (diff)
downloadsamba-f043babcbdef26980a607de517be05092bf037a9.tar.gz
samba-f043babcbdef26980a607de517be05092bf037a9.tar.bz2
samba-f043babcbdef26980a607de517be05092bf037a9.zip
s3: Fix an uninitialized variable
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index fc381d89e7..99ab4ca34b 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -5815,7 +5815,7 @@ static void rename_open_files(connection_struct *conn,
files_struct *fsp;
bool did_rename = False;
NTSTATUS status;
- uint32_t new_name_hash;
+ uint32_t new_name_hash = 0;
for(fsp = file_find_di_first(conn->sconn, lck->id); fsp;
fsp = file_find_di_next(fsp)) {