From b9927ebe1111ed699dd591476005d5f9b80a1f3b Mon Sep 17 00:00:00 2001 From: Stuart Morgan Date: Tue, 21 May 2013 20:17:49 +0100 Subject: [PATCH] Remove some unused members and initialise others in ScreenWizard. Silences some cppcheck warnings. --- mythtv/programs/mythscreenwizard/screenwizard.cpp | 4 +++- mythtv/programs/mythscreenwizard/screenwizard.h | 2 -- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mythtv/programs/mythscreenwizard/screenwizard.cpp b/mythtv/programs/mythscreenwizard/screenwizard.cpp index 6540d2dc973..9d5d3f9a722 100644 --- a/mythtv/programs/mythscreenwizard/screenwizard.cpp +++ b/mythtv/programs/mythscreenwizard/screenwizard.cpp @@ -35,7 +35,9 @@ ScreenWizard::ScreenWizard(MythScreenStack *parent, const char *name) : m_xsize(GetMythMainWindow()->GetUIScreenRect().width()), m_ysize(GetMythMainWindow()->GetUIScreenRect().height()), m_xoffset(0), m_yoffset(0), - m_menuPopup(NULL) + m_blackout(NULL), m_preview(NULL), + m_size(NULL), m_offsets(NULL), + m_changeamount(NULL), m_menuPopup(NULL) { } diff --git a/mythtv/programs/mythscreenwizard/screenwizard.h b/mythtv/programs/mythscreenwizard/screenwizard.h index 5d4286a57b9..05cc9dcf39b 100644 --- a/mythtv/programs/mythscreenwizard/screenwizard.h +++ b/mythtv/programs/mythscreenwizard/screenwizard.h @@ -56,8 +56,6 @@ class ScreenWizard : public MythScreenType MythUIText *m_size; MythUIText *m_offsets; MythUIText *m_changeamount; - MythUIButton *OKButton; - MythUIButton *updateButton; MythDialogBox *m_menuPopup; bool moveTLUp(void);