aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJ. Alexander Treuman <jat@spatialrift.net>2007-06-01 12:53:13 +0000
committerJ. Alexander Treuman <jat@spatialrift.net>2007-06-01 12:53:13 +0000
commit485d1f68ddadee5f171ade372700c0e3ee395841 (patch)
treeb082050514b928c46d4c25a84bc0a135b689e24b
parent38c258dd9a1c3578dacae991492984e1c660d609 (diff)
downloadmpd-485d1f68ddadee5f171ade372700c0e3ee395841.tar.gz
mpd-485d1f68ddadee5f171ade372700c0e3ee395841.tar.xz
mpd-485d1f68ddadee5f171ade372700c0e3ee395841.zip
Minor formatting cleanups.
git-svn-id: https://svn.musicpd.org/mpd/trunk@6444 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/player.c5
-rw-r--r--src/playlist.c2
2 files changed, 0 insertions, 7 deletions
diff --git a/src/player.c b/src/player.c
index 7c92d088e..4870dc739 100644
--- a/src/player.c
+++ b/src/player.c
@@ -222,11 +222,6 @@ int playerStop(int fd)
void playerKill(void)
{
int pid;
- /*PlayerControl * pc = &(getPlayerData()->playerControl);
-
- playerStop(stderr);
- playerCloseAudio(stderr);
- if(player_pid>0 && pc->closeAudio) sleep(1); */
pid = player_pid;
if (pid > 0)
diff --git a/src/playlist.c b/src/playlist.c
index d8f2c6b65..de5a2a3d5 100644
--- a/src/playlist.c
+++ b/src/playlist.c
@@ -840,7 +840,6 @@ int stopPlaylist(int fd)
static int playPlaylistOrderNumber(int fd, int orderNum)
{
-
if (playerStop(fd) < 0)
return -1;
@@ -1195,7 +1194,6 @@ static void randomizeOrder(int start, int end)
playlist.current = ri;
swapOrder(i, ri);
}
-
}
int setPlaylistRandomStatus(int fd, int status)