diff options
author | kinddragon <kinddragon@users.sourceforge.net> | 2010-05-16 23:28:57 +0400 |
---|---|---|
committer | kinddragon <kinddragon@users.sourceforge.net> | 2010-05-16 23:28:57 +0400 |
commit | e9e09d64fbc9c884e7e00f22bfa9de18b8748bb9 (patch) | |
tree | 1a147ec652bb6baef603d72fc6bb9129c416b38b /src/apps/mplayerc/PlayerNavigationDialog.cpp | |
parent | 3a990e7f323a3f68c286ad8b3395c681368ff46b (diff) |
Some warnings fixed (uninitialized local variable, unused local variable, comparison signed/unsigned type, assignment in if)
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@1886 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/apps/mplayerc/PlayerNavigationDialog.cpp')
-rw-r--r-- | src/apps/mplayerc/PlayerNavigationDialog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/apps/mplayerc/PlayerNavigationDialog.cpp b/src/apps/mplayerc/PlayerNavigationDialog.cpp index ba5124726..473cf2d38 100644 --- a/src/apps/mplayerc/PlayerNavigationDialog.cpp +++ b/src/apps/mplayerc/PlayerNavigationDialog.cpp @@ -66,6 +66,7 @@ BOOL CPlayerNavigationDialog::PreTranslateMessage(MSG* pMsg) if(pMsg->wParam == VK_RETURN)
{
CWnd* pFocused = GetFocus();
+ UNUSED_ALWAYS(pFocused);
}
}
return __super::PreTranslateMessage(pMsg);
@@ -148,7 +149,7 @@ void CPlayerNavigationDialog::UpdateElementList() int nCurrentChannel;
AppSettings& s = AfxGetAppSettings();
- if (s.iDefaultCaptureDevice = 1)
+ if (s.iDefaultCaptureDevice == 1)
{
m_ChannelList.ResetContent();
|