From: Bart Van Assche Date: Sat, 5 Mar 2011 09:05:47 +0000 (+0000) Subject: DRD: Fixed a Darwin-specific compiler warning X-Git-Tag: svn/VALGRIND_3_7_0~647 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e783e6b342dcb0440d576ae1c22f477686fbf3f0;p=thirdparty%2Fvalgrind.git DRD: Fixed a Darwin-specific compiler warning git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11582 --- 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),