X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fdata%2Fdecoderstack.cpp;h=648b4cf57917a0cf3ea0a608942b1313c88719a6;hb=f420385094dc7392e6bcec494d800f1d4b34f082;hp=d01bab2de111b155c9880ecf72a4fd3806316e62;hpb=caa4a2db5e100713818a353c17d2dc00fa475a2a;p=pulseview.git diff --git a/pv/data/decoderstack.cpp b/pv/data/decoderstack.cpp index d01bab2..648b4cf 100644 --- a/pv/data/decoderstack.cpp +++ b/pv/data/decoderstack.cpp @@ -240,7 +240,7 @@ void DecoderStack::begin_decode() // This works because we are currently assuming all // logic signals have the same data/segment pv::data::SignalBase *signalbase; - pv::data::Logic *data; + pv::data::Logic *data = nullptr; for (const shared_ptr &dec : stack_) if (dec && !dec->channels().empty() &&