From: Philippe Waroquiers Date: Thu, 24 Jul 2014 22:30:08 +0000 (+0000) Subject: Small follow up to lock address description: now that we describe X-Git-Tag: svn/VALGRIND_3_10_0~248 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a5cacfa974da47a351b3bd014bb803aedba788f;p=thirdparty%2Fvalgrind.git Small follow up to lock address description: now that we describe lock address, we can print something even if the lock observation has no stacktrace. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14190 --- diff --git a/helgrind/hg_errors.c b/helgrind/hg_errors.c index 9a67b77e3b..537d98bd73 100644 --- a/helgrind/hg_errors.c +++ b/helgrind/hg_errors.c @@ -764,8 +764,6 @@ static void announce_LockP ( Lock* lk ) if (lk == Lock_INVALID) return; /* Can't be announced -- we know nothing about it. */ tl_assert(lk->magic == LockP_MAGIC); - if (!lk->appeared_at) - return; /* There's nothing we can show */ if (VG_(clo_xml)) { /* fixme: add announcement */