initialize MyProcessor::getStackTrace::Visitor::trace in case visit is never called

This commit is contained in:
Joel Dice 2009-11-24 19:15:27 -07:00
parent 728a6ba706
commit 9f14d63592

View File

@ -7260,7 +7260,7 @@ class MyProcessor: public Processor {
class Visitor: public System::ThreadVisitor { class Visitor: public System::ThreadVisitor {
public: public:
Visitor(MyThread* t, MyProcessor* p, MyThread* target): Visitor(MyThread* t, MyProcessor* p, MyThread* target):
t(t), p(p), target(target) t(t), p(p), target(target), trace(0)
{ } { }
virtual void visit(void* ip, void* base, void* stack) { virtual void visit(void* ip, void* base, void* stack) {