X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdata%2Fdecoderstack.cpp;h=2b07936840f49df3d76160f2b6250ed051278003;hp=d01bab2de111b155c9880ecf72a4fd3806316e62;hb=efdec55aec1a137460fa362a381ed1904182bfed;hpb=caa4a2db5e100713818a353c17d2dc00fa475a2a diff --git a/pv/data/decoderstack.cpp b/pv/data/decoderstack.cpp index d01bab2..2b07936 100644 --- a/pv/data/decoderstack.cpp +++ b/pv/data/decoderstack.cpp @@ -14,8 +14,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * along with this program; if not, see . */ #include @@ -240,7 +239,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() &&