license: remove FSF postal address from boiler plate license text
[pulseview.git] / pv / data / decoderstack.cpp
index d01bab2de111b155c9880ecf72a4fd3806316e62..2b07936840f49df3d76160f2b6250ed051278003 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
  */
 
 #include <libsigrokdecode/libsigrokdecode.h>
@@ -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<decode::Decoder> &dec : stack_)
                if (dec && !dec->channels().empty() &&