Skip to content

Commit

Permalink
Main: remove unused global variable "global_instance"
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxKellermann committed Sep 10, 2024
1 parent 315522e commit 1985451
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Main.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@

using std::string_view_literals::operator""sv;

static Instance *global_instance;

ScreenManager *screen;

#ifndef NCMPC_MINI
Expand Down Expand Up @@ -297,7 +295,6 @@ try {

/* create the global Instance */
Instance instance;
global_instance = &instance;
screen = &instance.GetScreenManager();

AtScopeExit() {
Expand Down

0 comments on commit 1985451

Please sign in to comment.