From: Bart Van Assche Date: Thu, 29 Apr 2010 07:11:46 +0000 (+0000) Subject: Suppressed a (harmless) compiler warning that was only reported on Darwin. X-Git-Tag: svn/VALGRIND_3_6_0~312 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27759ab6c9b80b6619032ce749465c4578a45061;p=thirdparty%2Fvalgrind.git Suppressed a (harmless) compiler warning that was only reported on Darwin. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11112 --- diff --git a/drd/drd_semaphore.c b/drd/drd_semaphore.c index 4d73a876e1..3c2daad0da 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)() }; + GenericErrInfo GEI = { DRD_(thread_get_running_tid)(), NULL }; VG_(maybe_record_error)(vg_tid, GenericErr, VG_(get_IP)(vg_tid),