Code

mpdclient: removed the deprecated !ENABLE_PLCHANGES code
authorMax Kellermann <max@duempel.org>
Tue, 29 Sep 2009 16:37:30 +0000 (18:37 +0200)
committerMax Kellermann <max@duempel.org>
Tue, 29 Sep 2009 16:37:30 +0000 (18:37 +0200)
The ENABLE_PLCHANGES option has been enabled for ages.

src/mpdclient.c

index 22a1d82e9c867c56d07c17f76683bef6a6500683..0b28edfb673571778a6f7416528c41774fc38e32 100644 (file)
@@ -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 *****************************************************/