aboutsummaryrefslogtreecommitdiff
path: root/src/google_breakpad/processor/stack_frame.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/google_breakpad/processor/stack_frame.h')
-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";
}
};