aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRechi <Rechi@users.noreply.github.com>2018-01-30 16:00:00 +0100
committerRechi <Rechi@users.noreply.github.com>2018-01-30 16:00:00 +0100
commite9a315d2409ceb33c74a3cd5711dc618bcc5a0d2 (patch)
treeef57184a3477e4da27b37ffa7773c83cdd28e9d1
parentb33ba4d2b5e54b379dcad178bbed05906d96aa19 (diff)
[cleanup] silence unused private field warnings
-rw-r--r--xbmc/cores/ExternalPlayer/ExternalPlayer.cpp6
-rw-r--r--xbmc/cores/ExternalPlayer/ExternalPlayer.h5
2 files changed, 3 insertions, 8 deletions
diff --git a/xbmc/cores/ExternalPlayer/ExternalPlayer.cpp b/xbmc/cores/ExternalPlayer/ExternalPlayer.cpp
index 386179ef90..fc0175e519 100644
--- a/xbmc/cores/ExternalPlayer/ExternalPlayer.cpp
+++ b/xbmc/cores/ExternalPlayer/ExternalPlayer.cpp
@@ -68,10 +68,8 @@ CExternalPlayer::CExternalPlayer(IPlayerCallback& callback)
{
m_bAbortRequest = false;
m_bIsPlaying = false;
- m_paused = false;
m_playbackStartTime = 0;
m_speed = 1;
- m_totalTime = 1;
m_time = 0;
m_hideconsole = false;
@@ -82,12 +80,10 @@ CExternalPlayer::CExternalPlayer(IPlayerCallback& callback)
m_playOneStackItem = false;
m_dialog = NULL;
- m_hwndXbmc = NULL;
+#if defined(TARGET_WINDOWS_DESKTOP)
m_xPos = 0;
m_yPos = 0;
-
-#if defined(TARGET_WINDOWS_DESKTOP)
memset(&m_processInfo, 0, sizeof(m_processInfo));
#endif
}
diff --git a/xbmc/cores/ExternalPlayer/ExternalPlayer.h b/xbmc/cores/ExternalPlayer/ExternalPlayer.h
index 0925463e85..15e63bd224 100644
--- a/xbmc/cores/ExternalPlayer/ExternalPlayer.h
+++ b/xbmc/cores/ExternalPlayer/ExternalPlayer.h
@@ -75,20 +75,19 @@ private:
bool m_bAbortRequest;
bool m_bIsPlaying;
- bool m_paused;
int64_t m_playbackStartTime;
float m_speed;
- int m_totalTime;
int m_time;
std::string m_launchFilename;
- HWND m_hwndXbmc;
#if defined(TARGET_WINDOWS_DESKTOP)
POINT m_ptCursorpos;
PROCESS_INFORMATION m_processInfo;
#endif
CGUIDialogOK* m_dialog;
+#if defined(TARGET_WINDOWS_DESKTOP)
int m_xPos;
int m_yPos;
+#endif
std::string m_filename;
std::string m_args;
bool m_hideconsole;