From: Max Kellermann Date: Tue, 29 Sep 2009 16:37:30 +0000 (+0200) Subject: mpdclient: removed the deprecated !ENABLE_PLCHANGES code X-Git-Tag: release-0.16~312 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2fe2da43b8d17fe321fa78d95b3c610a3aeb99d4;p=ncmpc.git mpdclient: removed the deprecated !ENABLE_PLCHANGES code The ENABLE_PLCHANGES option has been enabled for ages. --- diff --git a/src/mpdclient.c b/src/mpdclient.c index 22a1d82..0b28edf 100644 --- a/src/mpdclient.c +++ b/src/mpdclient.c @@ -35,7 +35,6 @@ #undef ENABLE_FANCY_PLAYLIST_MANAGMENT_CMD_ADD /* broken with song id's */ #define ENABLE_FANCY_PLAYLIST_MANAGMENT_CMD_DELETE #define ENABLE_FANCY_PLAYLIST_MANAGMENT_CMD_MOVE -#define ENABLE_PLCHANGES #define BUFSIZE 1024 @@ -786,8 +785,6 @@ mpdclient_playlist_update(struct mpdclient *c) return mpdclient_finish_command(c); } -#ifdef ENABLE_PLCHANGES - /* update playlist (plchanges) */ gint mpdclient_playlist_update_changes(struct mpdclient *c) @@ -832,14 +829,6 @@ mpdclient_playlist_update_changes(struct mpdclient *c) return 0; } -#else -gint -mpdclient_playlist_update_changes(struct mpdclient *c) -{ - return mpdclient_playlist_update(c); -} -#endif - /****************************************************************************/ /*** Filelist functions *****************************************************/