From: Florian Krohm Date: Tue, 22 Jan 2013 00:25:05 +0000 (+0000) Subject: Make sure the variable is completely initialised. That's good X-Git-Tag: svn/VALGRIND_3_9_0~423 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87dc0e335ccee5fc7a3dcd5378575dae3fa8313a;p=thirdparty%2Fvalgrind.git Make sure the variable is completely initialised. That's good practice and also silences a complaint from the Coverity checker. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13258 --- diff --git a/helgrind/libhb_core.c b/helgrind/libhb_core.c index 46e1378431..05ba817bb3 100644 --- a/helgrind/libhb_core.c +++ b/helgrind/libhb_core.c @@ -4057,6 +4057,7 @@ static RCEC* get_RCEC ( Thr* thr ) example.magic = RCEC_MAGIC; example.rc = 0; example.rcX = 0; + example.next = NULL; main_get_stacktrace( thr, &example.frames[0], N_FRAMES ); hash = 0; for (i = 0; i < N_FRAMES; i++) {