Commit 485d1f68 authored by J. Alexander Treuman's avatar J. Alexander Treuman

Minor formatting cleanups.

git-svn-id: https://svn.musicpd.org/mpd/trunk@6444 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent 38c258dd
...@@ -222,11 +222,6 @@ int playerStop(int fd) ...@@ -222,11 +222,6 @@ int playerStop(int fd)
void playerKill(void) void playerKill(void)
{ {
int pid; int pid;
/*PlayerControl * pc = &(getPlayerData()->playerControl);
playerStop(stderr);
playerCloseAudio(stderr);
if(player_pid>0 && pc->closeAudio) sleep(1); */
pid = player_pid; pid = player_pid;
if (pid > 0) if (pid > 0)
......
...@@ -840,7 +840,6 @@ int stopPlaylist(int fd) ...@@ -840,7 +840,6 @@ int stopPlaylist(int fd)
static int playPlaylistOrderNumber(int fd, int orderNum) static int playPlaylistOrderNumber(int fd, int orderNum)
{ {
if (playerStop(fd) < 0) if (playerStop(fd) < 0)
return -1; return -1;
...@@ -1195,7 +1194,6 @@ static void randomizeOrder(int start, int end) ...@@ -1195,7 +1194,6 @@ static void randomizeOrder(int start, int end)
playlist.current = ri; playlist.current = ri;
swapOrder(i, ri); swapOrder(i, ri);
} }
} }
int setPlaylistRandomStatus(int fd, int status) int setPlaylistRandomStatus(int fd, int status)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment