Warning cleanup, mainly shadowed variables, const/non-const and ctor initialization order

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5098 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
j4ck.fr0st
2010-02-21 18:55:00 +00:00
parent f7f11211a1
commit fdd635d273
19 changed files with 39 additions and 41 deletions

View File

@ -181,7 +181,7 @@ void CJitWindow::Compare(u32 em_address)
PPCAnalyst::BlockRegStats fpa;
if (PPCAnalyst::Flatten(ppc_addr, &size, &st, &gpa, &fpa, &code_buffer))
{
char *sptr = (char*)xDis;
sptr = (char*)xDis;
for (int i = 0; i < size; i++)
{
const PPCAnalyst::CodeOp &op = code_buffer.codebuffer[i];

View File

@ -400,9 +400,9 @@ void CMemoryWindow::onSearch(wxCommandEvent& event) {
if(k==size){
//Match was found
wxMessageBox(_T("A match was found. Placing viewer at the offset."));
wxChar tmpstr[128]={0};
wxSprintf(tmpstr,_T("%08x"),i);
wxString tmpwx(tmpstr);
wxChar tmpwxstr[128]={0};
wxSprintf(tmpwxstr,_T("%08x"),i);
wxString tmpwx(tmpwxstr);
addrbox->SetValue(tmpwx);
//memview->curAddress=i;
//memview->Refresh();