From 0ae542cf08757bac3f72e73514d27d66888e2294 Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Wed, 29 May 2019 12:44:32 -0400 Subject: [PATCH] Remove unused globals --- src/Project.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/Project.cpp b/src/Project.cpp index f3ec0ea24..0f0caef8d 100644 --- a/src/Project.cpp +++ b/src/Project.cpp @@ -379,12 +379,6 @@ BEGIN_EVENT_TABLE(ScrollBar, wxScrollBar) END_EVENT_TABLE() /* Define Global Variables */ -//The following global counts the number of documents that have been opened -//for the purpose of project placement (not to keep track of the number) -//It is only accurate modulo ten, and does not decrement when a project is -//closed. -static int gAudacityOffsetInc = 0; -static int gAudacityPosInc = 0; //This is a pointer to the currently-active project. static AudacityProject *gActiveProject; //This array holds onto all of the projects currently open @@ -722,10 +716,6 @@ AUDACITY_DLL_API void CloseAllProjects() size_t len = gAudacityProjects.size(); for (size_t i = 0; i < len; i++) GetProjectFrame( *gAudacityProjects[i] ).Close(); - - //Set the Offset and Position increments to 0 - gAudacityOffsetInc = 0; - gAudacityPosInc = 0; } // BG: The default size and position of the first window