diff options
author | Slávek Banko <[email protected]> | 2016-10-09 16:10:38 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2016-10-09 16:10:53 +0200 |
commit | bad078e7b6e768652ca0770a6addd53453d9a8d0 (patch) | |
tree | 2151a3805709115e0aa80fe89a9ad644a2ec0d4b /src | |
parent | f060539d8f221d14481048f80b1c741a9c1156bb (diff) | |
download | k9copy-bad078e7b6e768652ca0770a6addd53453d9a8d0.tar.gz k9copy-bad078e7b6e768652ca0770a6addd53453d9a8d0.zip |
Fix use of potentially uninitialized values
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit f083c21276545263a0b23d829139c6732b837af3)
Diffstat (limited to 'src')
-rw-r--r-- | src/k9play.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
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(); |