mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2025-02-02 17:21:06 +00:00
Breakpad: Avoid warnings building with G++ 4.4.1 using -O3 -Wall.
src/processor/minidump.cc:1067: warning: format ‘%llx’ expects type ‘long long unsigned int’, but argument 3 has type ‘unsigned int’ src/processor/stackwalker_arm.cc:83: warning: unused variable ‘last_frame’ src/processor/minidump_stackwalk.cc:163: warning: ‘trust_name’ may be used uninitialized in this function a=jimblandy, r=ted.mielczarek git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@481 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
e9faf54828
commit
0441036f9e
|
@ -1063,7 +1063,7 @@ void MinidumpContext::Print() {
|
|||
for (unsigned int fpe_index = 0;
|
||||
fpe_index < MD_FLOATINGSAVEAREA_ARM_FPEXTRA_COUNT;
|
||||
++fpe_index) {
|
||||
printf(" float_save.extra[%2d] = 0x%" PRIx64 "\n",
|
||||
printf(" float_save.extra[%2d] = 0x%" PRIx32 "\n",
|
||||
fpe_index, context_arm->float_save.extra[fpe_index]);
|
||||
}
|
||||
|
||||
|
|
|
@ -162,6 +162,7 @@ static void PrintStack(const CallStack *stack, const string &cpu) {
|
|||
}
|
||||
const char *trust_name;
|
||||
switch (frame_x86->trust) {
|
||||
default:
|
||||
case StackFrameX86::FRAME_TRUST_NONE:
|
||||
trust_name = "unknown";
|
||||
break;
|
||||
|
|
|
@ -80,9 +80,6 @@ StackFrame* StackwalkerARM::GetCallerFrame(
|
|||
return NULL;
|
||||
}
|
||||
|
||||
StackFrameARM *last_frame = static_cast<StackFrameARM*>(
|
||||
stack->frames()->back());
|
||||
|
||||
// TODO: Can't actually walk the stack on ARM without the CFI data.
|
||||
// Implement this when the CFI symbol dumper changes have landed.
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in a new issue