From a959d5c0a63e6cc70ea000a3917458b243187fd8 Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Sat, 30 Aug 2014 13:06:00 +0200 Subject: [PATCH] song: initialize m_hash in default constructor --- src/song.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/song.h b/src/song.h index c8e57d46..7e280132 100644 --- a/src/song.h +++ b/src/song.h @@ -39,7 +39,7 @@ struct Song typedef std::string (Song::*GetFunction)(unsigned) const; - Song() { } + Song() : m_hash(0) { } virtual ~Song() { } Song(mpd_song *s);