summaryrefslogtreecommitdiff
path: root/src/soundplayer.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2019-01-01 13:38:31 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2019-01-01 13:38:31 +0100
commit12cd03cb751e067362bad5f4ba724166200c0e88 (patch)
tree959172f171f022d686a77fa02b44a35b3f6d01ae /src/soundplayer.cc
parent57fd674ea20f28b03c3e143d296c60d550b2ebe8 (diff)
Default initialise SF_INFO to prevent compiler warning.HEADmaster
Diffstat (limited to 'src/soundplayer.cc')
-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)