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
e814f8d5
Commit
e814f8d5
authored
Nov 02, 2009
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: removed unused variable "update_notify"
That variable has been superseded by "remove_notify" (defined in update_remove.c).
parent
64a481d8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
11 deletions
+0
-11
update.c
src/update.c
+0
-8
update_internal.h
src/update_internal.h
+0
-3
No files found.
src/update.c
View file @
e814f8d5
...
@@ -24,7 +24,6 @@
...
@@ -24,7 +24,6 @@
#include "archive_list.h"
#include "archive_list.h"
#include "playlist.h"
#include "playlist.h"
#include "event_pipe.h"
#include "event_pipe.h"
#include "notify.h"
#include "update.h"
#include "update.h"
#include "idle.h"
#include "idle.h"
#include "stats.h"
#include "stats.h"
...
@@ -49,9 +48,6 @@ static const unsigned update_task_id_max = 1 << 15;
...
@@ -49,9 +48,6 @@ static const unsigned update_task_id_max = 1 << 15;
static
unsigned
update_task_id
;
static
unsigned
update_task_id
;
/** used by the main thread to notify the update thread */
struct
notify
update_notify
;
/* XXX this flag is passed to update_task() */
/* XXX this flag is passed to update_task() */
static
bool
discard
;
static
bool
discard
;
...
@@ -153,8 +149,6 @@ static void update_finished_event(void)
...
@@ -153,8 +149,6 @@ static void update_finished_event(void)
void
update_global_init
(
void
)
void
update_global_init
(
void
)
{
{
notify_init
(
&
update_notify
);
event_pipe_register
(
PIPE_EVENT_UPDATE
,
update_finished_event
);
event_pipe_register
(
PIPE_EVENT_UPDATE
,
update_finished_event
);
update_remove_global_init
();
update_remove_global_init
();
...
@@ -165,6 +159,4 @@ void update_global_finish(void)
...
@@ -165,6 +159,4 @@ void update_global_finish(void)
{
{
update_walk_global_finish
();
update_walk_global_finish
();
update_remove_global_finish
();
update_remove_global_finish
();
notify_deinit
(
&
update_notify
);
}
}
src/update_internal.h
View file @
e814f8d5
...
@@ -29,9 +29,6 @@ struct stat;
...
@@ -29,9 +29,6 @@ struct stat;
struct
song
;
struct
song
;
struct
directory
;
struct
directory
;
/** used by the main thread to notify the update thread */
extern
struct
notify
update_notify
;
unsigned
unsigned
update_queue_push
(
const
char
*
path
,
bool
discard
,
unsigned
base
);
update_queue_push
(
const
char
*
path
,
bool
discard
,
unsigned
base
);
...
...
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