1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

Quieten valgrind message on make valgrindtest. This doesn't

seem to be valid (vl - feel free to confirm).
Jeremy.
This commit is contained in:
Jeremy Allison 2008-04-11 17:23:48 -07:00
parent 05f7f77135
commit 43b0254d93

View File

@ -749,6 +749,11 @@ NTSTATUS brl_lock(struct messaging_context *msg_ctx,
} }
#endif #endif
#ifdef DEVELOPER
/* Quieten valgrind on test. */
memset(&lock, '\0', sizeof(lock));
#endif
lock.context.smbpid = smbpid; lock.context.smbpid = smbpid;
lock.context.pid = pid; lock.context.pid = pid;
lock.context.tid = br_lck->fsp->conn->cnum; lock.context.tid = br_lck->fsp->conn->cnum;