From e6266f8a290c76ab63ab61d9aa5ec354c3a8a5f9 Mon Sep 17 00:00:00 2001 From: upstream svn Date: Thu, 4 Feb 2016 15:26:58 +0000 Subject: [PATCH] Remove unused variable The variable was only set during program execution, but never read. --- .svn-revision | 2 +- src/FileDetailDialog.cpp | 2 -- src/amule-gui.cpp | 1 - src/amule.h | 1 - 4 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.svn-revision b/.svn-revision index 71d820ef..f5799b4a 100644 --- a/.svn-revision +++ b/.svn-revision @@ -1 +1 @@ -10903 +10904 diff --git a/src/FileDetailDialog.cpp b/src/FileDetailDialog.cpp index 4c72a651..dd50fdc4 100644 --- a/src/FileDetailDialog.cpp +++ b/src/FileDetailDialog.cpp @@ -63,7 +63,6 @@ m_files(files), m_index(index), m_filenameChanged(false) { - theApp->m_FileDetailDialogActive++; m_timer.SetOwner(this, ID_MY_TIMER); m_timer.Start(5000); wxSizer *content = fileDetails(this, true); @@ -75,7 +74,6 @@ m_filenameChanged(false) CFileDetailDialog::~CFileDetailDialog() { - theApp->m_FileDetailDialogActive = 0; m_timer.Stop(); } diff --git a/src/amule-gui.cpp b/src/amule-gui.cpp index 415bd868..e1cf5770 100644 --- a/src/amule-gui.cpp +++ b/src/amule-gui.cpp @@ -99,7 +99,6 @@ IMPLEMENT_APP(CamuleGuiApp) CamuleGuiBase::CamuleGuiBase() { amuledlg = NULL; - m_FileDetailDialogActive = 0; } diff --git a/src/amule.h b/src/amule.h index c12841e5..64cee8d8 100644 --- a/src/amule.h +++ b/src/amule.h @@ -372,7 +372,6 @@ public: wxString m_FrameTitle; CamuleDlg* amuledlg; - int m_FileDetailDialogActive; bool CopyTextToClipboard( wxString strText ); void ResetTitle(); -- 2.11.4.GIT