From f083c21276545263a0b23d829139c6732b837af3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 9 Oct 2016 16:10:38 +0200 Subject: Fix use of potentially uninitialized values MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- src/k9play.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/k9play.cpp') diff --git a/src/k9play.cpp b/src/k9play.cpp index c21b561..915df89 100644 --- a/src/k9play.cpp +++ b/src/k9play.cpp @@ -239,9 +239,8 @@ void k9play::play() { m_startSector=status.sector; } - - - KTempFile *bufferFile; + + KTempFile *bufferFile = 0; if (m_useCache) { bufferFile=new KTempFile(locateLocal("tmp", "k9copy/k9p"), ""); m_output=bufferFile->file(); -- cgit v1.2.1