From 83ce08487e4042faf703ca078ab010d82b04b720 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Lindqvist?= Date: Fri, 13 May 2016 03:22:31 +0200 Subject: [PATCH] VM: initialize the ctx member in the construction To make valgrind happy because it complains that it is uninitialized. --- vm/vm.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vm/vm.cpp b/vm/vm.cpp index 0fc40c78a3..c2edee8eaf 100644 --- a/vm/vm.cpp +++ b/vm/vm.cpp @@ -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),