From dda1dd63d3c463a9a26d85acf4a9f7cc53396613 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 25 Sep 2010 15:40:54 -0700 Subject: s3: Avoid an explicit ZERO_STRUCT --- source3/smbd/sesssetup.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c index c2a2d16303..f9e49461cc 100644 --- a/source3/smbd/sesssetup.c +++ b/source3/smbd/sesssetup.c @@ -141,9 +141,7 @@ static NTSTATUS check_guest_password(struct auth_serversupplied_info **server_in struct auth_usersupplied_info *user_info = NULL; NTSTATUS nt_status; - unsigned char chal[8]; - - ZERO_STRUCT(chal); + static unsigned char chal[8] = { 0, }; DEBUG(3,("Got anonymous request\n")); -- cgit