diff options
author | SiyangXie@gmail.com <SiyangXie@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2010-10-15 19:43:07 +0000 |
---|---|---|
committer | SiyangXie@gmail.com <SiyangXie@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2010-10-15 19:43:07 +0000 |
commit | 361f24eac7fb452a795709479fc48fd59b04bc1f (patch) | |
tree | 3b7c61796115cb753f4b47b56bb5eccda0122a91 /src/google_breakpad/processor/stack_frame.h | |
parent | Fix for bug: debug checks for vector::operator[] fail in breakpad. (diff) | |
download | breakpad-361f24eac7fb452a795709479fc48fd59b04bc1f.tar.xz |
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
Diffstat (limited to 'src/google_breakpad/processor/stack_frame.h')
-rw-r--r-- | src/google_breakpad/processor/stack_frame.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/google_breakpad/processor/stack_frame.h b/src/google_breakpad/processor/stack_frame.h index a47c621f..c4449938 100644 --- a/src/google_breakpad/processor/stack_frame.h +++ b/src/google_breakpad/processor/stack_frame.h @@ -68,8 +68,6 @@ struct StackFrame { // by the stackwalker. string trust_description() const { switch (trust) { - case StackFrame::FRAME_TRUST_NONE: - return "unknown"; case StackFrame::FRAME_TRUST_CONTEXT: return "given as instruction pointer in context"; case StackFrame::FRAME_TRUST_CFI: @@ -80,6 +78,8 @@ struct StackFrame { return "previous frame's frame pointer"; case StackFrame::FRAME_TRUST_SCAN: return "stack scanning"; + default: + return "unknown"; } }; |