VM: initialize the ctx member in the construction

To make valgrind happy because it complains that it is uninitialized.
locals-and-roots
Björn Lindqvist 2016-05-13 03:22:31 +02:00
parent 340ad8b8d9
commit 83ce08487e
1 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,8 @@
namespace factor {
factor_vm::factor_vm(THREADHANDLE thread)
: nursery(0, 0),
: ctx(NULL),
nursery(0, 0),
faulting_p(false),
thread(thread),
callback_id(0),