]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
DRD: Fixed a Darwin-specific compiler warning
authorBart Van Assche <bvanassche@acm.org>
Sat, 5 Mar 2011 09:05:47 +0000 (09:05 +0000)
committerBart Van Assche <bvanassche@acm.org>
Sat, 5 Mar 2011 09:05:47 +0000 (09:05 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11582

drd/drd_semaphore.c

index 388b3b283cd14ee3324220bd8b82897442497e59..b6a9445673bf2a69e49010b68786e13d26755252 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)(), NULL };
+      GenericErrInfo GEI = { DRD_(thread_get_running_tid)(), 0 };
       VG_(maybe_record_error)(vg_tid,
                              GenericErr,
                              VG_(get_IP)(vg_tid),