diff --git a/src/TrackPanel.cpp b/src/TrackPanel.cpp index 249602101..a127019a7 100644 --- a/src/TrackPanel.cpp +++ b/src/TrackPanel.cpp @@ -530,8 +530,6 @@ TrackPanel::TrackPanel(wxWindow * parent, wxWindowID id, //to prevent runtime memory check warnings mZoomStart = -1; mZoomEnd = -1; - mPrevWidth = -1; - mPrevHeight = -1; // This is used to snap the cursor to the nearest track that // lines up with it. diff --git a/src/TrackPanel.h b/src/TrackPanel.h index d89fb5e38..3cf8aa2b8 100644 --- a/src/TrackPanel.h +++ b/src/TrackPanel.h @@ -643,8 +643,6 @@ protected: int mTimeCount; bool mRefreshBacking; - int mPrevWidth; - int mPrevHeight; SelectedRegion mInitialSelection; std::vector mInitialTrackSelection;