X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=pv%2Fdata%2Fdecoderstack.cpp;h=2b07936840f49df3d76160f2b6250ed051278003;hb=ae5f66281c38a76dcb7011907d7a86a99b9dd4dd;hp=d01bab2de111b155c9880ecf72a4fd3806316e62;hpb=caa4a2db5e100713818a353c17d2dc00fa475a2a;p=pulseview.git diff --git a/pv/data/decoderstack.cpp b/pv/data/decoderstack.cpp index d01bab2d..2b079368 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() &&