aboutsummaryrefslogtreecommitdiff
path: root/src/google_breakpad/processor
diff options
context:
space:
mode:
authorSiyangXie@gmail.com <SiyangXie@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e>2010-10-15 19:43:07 +0000
committerSiyangXie@gmail.com <SiyangXie@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e>2010-10-15 19:43:07 +0000
commit361f24eac7fb452a795709479fc48fd59b04bc1f (patch)
tree3b7c61796115cb753f4b47b56bb5eccda0122a91 /src/google_breakpad/processor
parentFix for bug: debug checks for vector::operator[] fail in breakpad. (diff)
downloadbreakpad-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')
-rw-r--r--src/google_breakpad/processor/stack_frame.h4
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";
}
};