Minor formatting cleanups.
git-svn-id: https://svn.musicpd.org/mpd/trunk@6444 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
38c258dd9a
commit
485d1f68dd
@ -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)
|
|||||||
|
|
||||||
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)
|
|||||||
playlist.current = ri;
|
playlist.current = ri;
|
||||||
swapOrder(i, ri);
|
swapOrder(i, ri);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int setPlaylistRandomStatus(int fd, int status)
|
int setPlaylistRandomStatus(int fd, int status)
|
||||||
|
Loading…
Reference in New Issue
Block a user