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
This commit is contained in:
Florian Krohm 2013-01-22 00:25:05 +00:00
parent 35ee46968d
commit 87dc0e335c

View File

@ -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++) {