Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
69c74afa
Commit
69c74afa
authored
Jan 25, 2009
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playlist: removed g_rand, PLAYLIST_HASH_MULT
Both are unused.
parent
688880bc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
playlist.c
src/playlist.c
+0
-10
No files found.
src/playlist.c
View file @
69c74afa
...
...
@@ -65,11 +65,6 @@
#define PLAYLIST_BUFFER_SIZE 2*MPD_PATH_MAX
#define PLAYLIST_HASH_MULT 4
/** random number generator fur shuffling */
static
GRand
*
g_rand
;
/** the global playlist object */
static
struct
playlist
playlist
;
...
...
@@ -102,8 +97,6 @@ playlist_tag_event(void)
void
initPlaylist
(
void
)
{
g_rand
=
g_rand_new
();
queue_init
(
&
playlist
.
queue
,
config_get_positive
(
CONF_MAX_PLAYLIST_LENGTH
,
DEFAULT_PLAYLIST_MAX_LENGTH
));
...
...
@@ -117,9 +110,6 @@ void initPlaylist(void)
void
finishPlaylist
(
void
)
{
queue_finish
(
&
playlist
.
queue
);
g_rand_free
(
g_rand
);
g_rand
=
NULL
;
}
const
struct
queue
*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment