From 485d1f68ddadee5f171ade372700c0e3ee395841 Mon Sep 17 00:00:00 2001 From: "J. Alexander Treuman" Date: Fri, 1 Jun 2007 12:53:13 +0000 Subject: Minor formatting cleanups. git-svn-id: https://svn.musicpd.org/mpd/trunk@6444 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/player.c | 5 ----- src/playlist.c | 2 -- 2 files changed, 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) -- cgit v1.2.3