mirror of
https://github.com/samba-team/samba.git
synced 2025-08-07 09:49:30 +03:00
Quieten valgrind message on make valgrindtest. This doesn't
seem to be valid (vl - feel free to confirm).
Jeremy.
(This used to be commit 43b0254d93
)
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user