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
243c4e1e
Commit
243c4e1e
authored
Feb 05, 2014
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Main: remove unused global variable "main_thread"
parent
9ae7f186
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
7 deletions
+0
-7
Main.cxx
src/Main.cxx
+0
-4
Main.hxx
src/Main.hxx
+0
-3
No files found.
src/Main.cxx
View file @
243c4e1e
...
...
@@ -109,8 +109,6 @@ static constexpr unsigned DEFAULT_BUFFER_BEFORE_PLAY = 10;
static
constexpr
Domain
main_domain
(
"main"
);
ThreadId
main_thread
;
Instance
*
instance
;
static
StateFile
*
state_file
;
...
...
@@ -412,8 +410,6 @@ int mpd_main(int argc, char *argv[])
return
EXIT_FAILURE
;
}
main_thread
=
ThreadId
::
GetCurrent
();
instance
=
new
Instance
();
instance
->
event_loop
=
new
EventLoop
();
...
...
src/Main.hxx
View file @
243c4e1e
...
...
@@ -20,12 +20,9 @@
#ifndef MPD_MAIN_HXX
#define MPD_MAIN_HXX
class
ThreadId
;
class
EventLoop
;
struct
Instance
;
extern
ThreadId
main_thread
;
extern
Instance
*
instance
;
/**
...
...
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