diff options
author | Volker Lendecke <vl@samba.org> | 2010-09-25 15:40:54 -0700 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-09-26 01:12:37 +0200 |
commit | dda1dd63d3c463a9a26d85acf4a9f7cc53396613 (patch) | |
tree | d21825611aace4f986f881c542f4209047f44e6a /source3 | |
parent | 6ee0d866c2d7dbdede8511fb906c10f6118fa87d (diff) | |
download | samba-dda1dd63d3c463a9a26d85acf4a9f7cc53396613.tar.gz samba-dda1dd63d3c463a9a26d85acf4a9f7cc53396613.tar.bz2 samba-dda1dd63d3c463a9a26d85acf4a9f7cc53396613.zip |
s3: Avoid an explicit ZERO_STRUCT
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/sesssetup.c | 4 |
1 files changed, 1 insertions, 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")); |