diff options
author | Max Kellermann <max@duempel.org> | 2014-02-05 17:04:16 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-02-05 17:04:16 +0100 |
commit | 243c4e1e83ee85adc3719e85cd55522639fdd464 (patch) | |
tree | 255d2f9425011d94123c8c757ea29d0dee1b3a20 /src | |
parent | 9ae7f186bc43749383594807b1d751b5389161e7 (diff) | |
download | mpd-243c4e1e83ee85adc3719e85cd55522639fdd464.tar.gz mpd-243c4e1e83ee85adc3719e85cd55522639fdd464.tar.xz mpd-243c4e1e83ee85adc3719e85cd55522639fdd464.zip |
Main: remove unused global variable "main_thread"
Diffstat (limited to '')
-rw-r--r-- | src/Main.cxx | 4 | ||||
-rw-r--r-- | src/Main.hxx | 3 |
2 files changed, 0 insertions, 7 deletions
diff --git a/src/Main.cxx b/src/Main.cxx index 2b64142cf..0849353a3 100644 --- a/src/Main.cxx +++ b/src/Main.cxx @@ -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(); diff --git a/src/Main.hxx b/src/Main.hxx index 08f24ec96..831bbaf23 100644 --- a/src/Main.hxx +++ b/src/Main.hxx @@ -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; /** |