clean up warnings (warning level 4) in debugger files

This commit is contained in:
zilmar 2012-10-05 19:16:54 +10:00
parent c83bc1fb94
commit 856e9838dc
3 changed files with 7 additions and 7 deletions

View File

@ -32,7 +32,7 @@ LRESULT CDumpMemory::OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lPa
return TRUE; return TRUE;
} }
LRESULT CDumpMemory::OnClicked(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled) LRESULT CDumpMemory::OnClicked(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/)
{ {
switch(wID) switch(wID)
{ {
@ -290,7 +290,7 @@ LRESULT CDumpMemory::OnClicked(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& b
// return true; // return true;
//} //}
bool CDumpMemory::DumpMemory ( LPCSTR FileName,DumpFormat Format, DWORD StartPC, DWORD EndPC, DWORD DumpPC ) bool CDumpMemory::DumpMemory ( LPCSTR FileName,DumpFormat Format, DWORD StartPC, DWORD EndPC, DWORD /*DumpPC*/ )
{ {
switch (Format) switch (Format)
{ {

View File

@ -12,7 +12,7 @@ CDebugMemorySearch::~CDebugMemorySearch()
void CDebugMemorySearch::AddAlignmentOptions (CComboBox & ctrl) void CDebugMemorySearch::AddAlignmentOptions (CComboBox & ctrl)
{ {
int Index = ctrl.AddString("32 bits (aligned)"); /*int Index =*/ ctrl.AddString("32 bits (aligned)");
_Notify->BreakPoint(__FILE__,__LINE__); _Notify->BreakPoint(__FILE__,__LINE__);
#ifdef tofix #ifdef tofix
ctrl.SetItemData(Index,_32Bit); ctrl.SetItemData(Index,_32Bit);
@ -61,7 +61,7 @@ LRESULT CDebugMemorySearch::OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARA
return TRUE; return TRUE;
} }
LRESULT CDebugMemorySearch::OnClicked(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled) LRESULT CDebugMemorySearch::OnClicked(WORD /*wNotifyCode*/, WORD wID, HWND hWndCtl, BOOL& /*bHandled*/)
{ {
switch(wID) switch(wID)
{ {
@ -152,7 +152,7 @@ LRESULT CDebugMemorySearch::OnClicked(WORD wNotifyCode, WORD wID, HWND hWndCtl,
return FALSE; return FALSE;
} }
LRESULT CDebugMemorySearch::OnResultRClick ( LPNMHDR lpnmh ) LRESULT CDebugMemorySearch::OnResultRClick ( LPNMHDR /*lpnmh*/ )
{ {
LONG iItem = m_SearchResults.GetNextItem(-1, LVNI_SELECTED); LONG iItem = m_SearchResults.GetNextItem(-1, LVNI_SELECTED);
if (iItem == -1) if (iItem == -1)
@ -472,7 +472,7 @@ void CDebugMemorySearch::Reset ( void )
FixUnknownOptions(true); FixUnknownOptions(true);
} }
void CDebugMemorySearch::FixUnknownOptions ( bool Reset ) void CDebugMemorySearch::FixUnknownOptions ( bool /*Reset*/ )
{ {
/* CComboBox & cb = m_UnknownOptions ; /* CComboBox & cb = m_UnknownOptions ;

View File

@ -73,7 +73,7 @@ LRESULT CDebugTlb::OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lPara
return TRUE; return TRUE;
} }
LRESULT CDebugTlb::OnClicked (WORD wNotifyCode, WORD wID, HWND , BOOL& bHandled) LRESULT CDebugTlb::OnClicked (WORD /*wNotifyCode*/, WORD wID, HWND , BOOL& /*bHandled*/)
{ {
switch(wID) switch(wID)
{ {