1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +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:
Jeremy Allison 2008-04-11 17:23:48 -07:00
parent 94df47318f
commit e76ec752be

View File

@ -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;