From ffea268d2e0a36fbc7a16f5fe14c7554a2eb56b3 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 17 Oct 2013 19:34:59 +0200 Subject: PlayerControl: GetError() returns an Error, not a char* --- src/PlayerControl.cxx | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/PlayerControl.cxx') diff --git a/src/PlayerControl.cxx b/src/PlayerControl.cxx index cf5789f10..e714429d3 100644 --- a/src/PlayerControl.cxx +++ b/src/PlayerControl.cxx @@ -23,8 +23,6 @@ #include "Song.hxx" #include "DecoderControl.hxx" -#include - #include #include @@ -202,17 +200,6 @@ player_control::ClearError() Unlock(); } -char * -player_control::GetErrorMessage() const -{ - Lock(); - char *message = error_type != PlayerError::NONE - ? g_strdup(error.GetMessage()) - : NULL; - Unlock(); - return message; -} - void player_control::EnqueueSong(Song *song) { -- cgit v1.2.3