mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2025-12-28 10:15:10 +01:00
Fix some compiler warnings: char*->const char*, default in swtch.
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@713 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
d95350e97a
commit
361f24eac7
4 changed files with 27 additions and 20 deletions
|
|
@ -108,6 +108,8 @@ u_int32_t DisassemblerX86::NextInstruction() {
|
|||
}
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
@ -160,6 +162,8 @@ u_int32_t DisassemblerX86::NextInstruction() {
|
|||
if (dest->data.reg.id == bad_register_.id)
|
||||
pushed_bad_value_ = true;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -195,6 +199,8 @@ u_int32_t DisassemblerX86::NextInstruction() {
|
|||
memcpy(&bad_register_, &dest->data.reg, sizeof(libdis::x86_reg_t));
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue