summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaszlo Papp <lpapp@kde.org>2011-12-06 18:43:08 +0200
committerLaszlo Papp <ext-laszlo.papp@nokia.com>2011-12-06 18:43:08 +0200
commit803458fc91c2310e8c0a681aac913e74896f83fd (patch)
tree3cfc11f2e40ebcd476d3537f49faa044831498f6
parent9f44baaeec4d422db83f34561ddff68dcc08b107 (diff)
Initialize the SNDFILE pointer to zero inside the private class constructor
-rw-r--r--src/decoders/qalsndfileaudiodecoder.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/decoders/qalsndfileaudiodecoder.cpp b/src/decoders/qalsndfileaudiodecoder.cpp
index 88feac8..697f1dd 100644
--- a/src/decoders/qalsndfileaudiodecoder.cpp
+++ b/src/decoders/qalsndfileaudiodecoder.cpp
@@ -30,6 +30,7 @@ class QALSndFileAudioDecoder::Private
{
public:
Private()
+ : sndFile(0)
{
}