diff options
author | Volker Lendecke <vl@samba.org> | 2013-09-10 12:04:42 +0000 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2013-09-11 08:27:11 +0200 |
commit | 635c35dc8d0d7e9ee7f0a850552564896b7342d9 (patch) | |
tree | 29ef81f465750c09b6910a759695597c947447df | |
parent | e2bb3b0c4a64ebfd7cd5143f50518fc534d020a2 (diff) | |
download | samba-635c35dc8d0d7e9ee7f0a850552564896b7342d9.tar.gz samba-635c35dc8d0d7e9ee7f0a850552564896b7342d9.tar.bz2 samba-635c35dc8d0d7e9ee7f0a850552564896b7342d9.zip |
smbd: Use ZERO_STRUCT instead of memset
-rw-r--r-- | source3/locking/brlock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/locking/brlock.c b/source3/locking/brlock.c index ae8a126ce4..2e08ce64ef 100644 --- a/source3/locking/brlock.c +++ b/source3/locking/brlock.c @@ -933,7 +933,7 @@ NTSTATUS brl_lock(struct messaging_context *msg_ctx, #ifdef DEVELOPER /* Quieten valgrind on test. */ - memset(&lock, '\0', sizeof(lock)); + ZERO_STRUCT(lock); #endif lock.context.smblctx = smblctx; |