aboutsummaryrefslogtreecommitdiffstats
path: root/src/PlayerControl.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-26 15:37:35 +0200
committerMax Kellermann <max@duempel.org>2013-10-26 15:37:49 +0200
commit4a5aad0948eb782ec6b74a1f038c0e5635c1bb9b (patch)
treeda528d4dde453783030736c9632c14b34f72557e /src/PlayerControl.cxx
parent85ae7e9c9a8e31359834b3b4da3c358b941e8012 (diff)
downloadmpd-4a5aad0948eb782ec6b74a1f038c0e5635c1bb9b.tar.gz
mpd-4a5aad0948eb782ec6b74a1f038c0e5635c1bb9b.tar.xz
mpd-4a5aad0948eb782ec6b74a1f038c0e5635c1bb9b.zip
PlayerControl: initialize tagged_song in constructor
Diffstat (limited to 'src/PlayerControl.cxx')
-rw-r--r--src/PlayerControl.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/PlayerControl.cxx b/src/PlayerControl.cxx
index 9ba77b32c..a0c72b4c9 100644
--- a/src/PlayerControl.cxx
+++ b/src/PlayerControl.cxx
@@ -34,6 +34,7 @@ player_control::player_control(unsigned _buffer_chunks,
command(PlayerCommand::NONE),
state(PlayerState::STOP),
error_type(PlayerError::NONE),
+ tagged_song(nullptr),
next_song(nullptr),
cross_fade_seconds(0),
mixramp_db(0),