]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Suppressed a (harmless) compiler warning that was only reported on Darwin.
authorBart Van Assche <bvanassche@acm.org>
Thu, 29 Apr 2010 07:11:46 +0000 (07:11 +0000)
committerBart Van Assche <bvanassche@acm.org>
Thu, 29 Apr 2010 07:11:46 +0000 (07:11 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11112

drd/drd_semaphore.c

index 4d73a876e1221c0ce44b8888704b35d9a7b8d0c6..3c2daad0daec53668ca1b9d8098e89f105b903a8 100644 (file)
@@ -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),