summaryrefslogtreecommitdiff
path: root/src/audiofile.cc
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2016-02-09 13:09:26 +0100
committerAndré Nusser <andre.nusser@googlemail.com>2016-02-09 13:09:26 +0100
commiteddcef9d4b81041e883626044d9dae81f8d8d9d9 (patch)
treea040a86672f060b0ee7b0b476a30426bdc4ccb8a /src/audiofile.cc
parent0a2b49267f9002c7289e60654203e9b108c06f73 (diff)
Fix two valgrind errors and mark three others with a TODO comment.
Diffstat (limited to 'src/audiofile.cc')
-rw-r--r--src/audiofile.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audiofile.cc b/src/audiofile.cc
index b0ad4da..f5d55b0 100644
--- a/src/audiofile.cc
+++ b/src/audiofile.cc
@@ -85,7 +85,7 @@ void AudioFile::load(int num_samples)
return;
}
- SF_INFO sf_info;
+ SF_INFO sf_info{};
SNDFILE *fh = sf_open(filename.c_str(), SFM_READ, &sf_info);
if(!fh)
{