summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/soundplayer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soundplayer.cc b/src/soundplayer.cc
index 319b11a..c46073f 100644
--- a/src/soundplayer.cc
+++ b/src/soundplayer.cc
@@ -127,7 +127,7 @@ SoundPlayer::Samples SoundPlayer::getSampleData(QString file)
{
printf("Insert '%s' into cache\n", file.toStdString().data());
SNDFILE *fh;
- SF_INFO sf_info;
+ SF_INFO sf_info{};
fh = sf_open(file.toStdString().c_str(), SFM_READ, &sf_info);
if(!fh)