From b917024aa1ac4cb0a40164132db3c6d2913157eb Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Thu, 3 Jan 2019 07:41:04 +0000 Subject: fixed build with -Werror=zero-as-null-pointer-constant git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8572 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Input/archive/decoder_archive.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/plugins/Input/archive/decoder_archive.cpp') diff --git a/src/plugins/Input/archive/decoder_archive.cpp b/src/plugins/Input/archive/decoder_archive.cpp index d4cd7933d..fa5bcf292 100644 --- a/src/plugins/Input/archive/decoder_archive.cpp +++ b/src/plugins/Input/archive/decoder_archive.cpp @@ -27,8 +27,8 @@ DecoderArchive::DecoderArchive(const QString &url) { m_url = url; - m_decoder = 0; - m_input = 0; + m_decoder = nullptr; + m_input = nullptr; } DecoderArchive::~DecoderArchive() @@ -36,12 +36,12 @@ DecoderArchive::~DecoderArchive() if(m_decoder) { delete m_decoder; - m_decoder = 0; + m_decoder = nullptr; } if(m_input) { delete m_input; - m_input = 0; + m_input = nullptr; } } @@ -80,7 +80,7 @@ bool DecoderArchive::initialize() return false; } - DecoderFactory *factory = 0; + DecoderFactory *factory = nullptr; if(filtered.size() == 1) factory = filtered.first(); else -- cgit v1.2.3-13-gbd6f