From f043babcbdef26980a607de517be05092bf037a9 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 20 May 2011 15:21:43 +0200 Subject: s3: Fix an uninitialized variable --- source3/smbd/reply.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') 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)) { -- cgit