diff options
author | 2012-08-19 23:10:56 +0200 | |
---|---|---|
committer | 2012-08-19 23:10:56 +0200 | |
commit | d376aa5fa9a2767c83ebfe2bdac50642cfbad96d (patch) | |
tree | e20f420e97ca71baef2c0d07f1791cd47f327e57 /AudioFile.cpp | |
parent | Initial commit of tag extractor and test main. (diff) | |
download | music-file-organizer-d376aa5fa9a2767c83ebfe2bdac50642cfbad96d.tar.xz music-file-organizer-d376aa5fa9a2767c83ebfe2bdac50642cfbad96d.zip |
Add read tag program. Fix uninitialized error.
Diffstat (limited to 'AudioFile.cpp')
-rw-r--r-- | AudioFile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/AudioFile.cpp b/AudioFile.cpp index 542d0c6..5157b11 100644 --- a/AudioFile.cpp +++ b/AudioFile.cpp @@ -19,7 +19,7 @@ template <typename T, typename M> inline T extractTag(M &map, const char *key) { - T ret; + T ret = 0; std::stringstream stream(extractTag<std::string>(map, key)); stream >> ret; return ret; |