diff options
author | Jeremy Allison <jra@samba.org> | 2008-04-11 17:23:48 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2008-04-11 17:23:48 -0700 |
commit | e76ec752be503338c0a26be34f8d0fb4fbeb5fe6 (patch) | |
tree | f43d884aeb968c2525993a59d7d878adcc7b6d02 /source3/locking | |
parent | 94df47318f85ac0295e41dec65c2eae25a01abcc (diff) | |
download | samba-e76ec752be503338c0a26be34f8d0fb4fbeb5fe6.tar.gz samba-e76ec752be503338c0a26be34f8d0fb4fbeb5fe6.tar.bz2 samba-e76ec752be503338c0a26be34f8d0fb4fbeb5fe6.zip |
Quieten valgrind message on make valgrindtest. This doesn't
seem to be valid (vl - feel free to confirm).
Jeremy.
(This used to be commit 43b0254d93540eeaddaa32d76dd9271f4dc2ebff)
Diffstat (limited to 'source3/locking')
-rw-r--r-- | source3/locking/brlock.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/locking/brlock.c b/source3/locking/brlock.c index 940dfbff8f..032aaa56b6 100644 --- a/source3/locking/brlock.c +++ b/source3/locking/brlock.c @@ -749,6 +749,11 @@ NTSTATUS brl_lock(struct messaging_context *msg_ctx, } #endif +#ifdef DEVELOPER + /* Quieten valgrind on test. */ + memset(&lock, '\0', sizeof(lock)); +#endif + lock.context.smbpid = smbpid; lock.context.pid = pid; lock.context.tid = br_lck->fsp->conn->cnum; |