From e783e6b342dcb0440d576ae1c22f477686fbf3f0 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sat, 5 Mar 2011 09:05:47 +0000 Subject: [PATCH] DRD: Fixed a Darwin-specific compiler warning git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11582 --- drd/drd_semaphore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drd/drd_semaphore.c b/drd/drd_semaphore.c index 388b3b283c..b6a9445673 100644 --- a/drd/drd_semaphore.c +++ b/drd/drd_semaphore.c @@ -202,7 +202,7 @@ struct semaphore_info* DRD_(semaphore_init)(const Addr semaphore, { #if defined(VGO_darwin) const ThreadId vg_tid = VG_(get_running_tid)(); - GenericErrInfo GEI = { DRD_(thread_get_running_tid)(), NULL }; + GenericErrInfo GEI = { DRD_(thread_get_running_tid)(), 0 }; VG_(maybe_record_error)(vg_tid, GenericErr, VG_(get_IP)(vg_tid), -- 2.47.3