From 361f24eac7fb452a795709479fc48fd59b04bc1f Mon Sep 17 00:00:00 2001 From: "SiyangXie@gmail.com" Date: Fri, 15 Oct 2010 19:43:07 +0000 Subject: 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 --- src/google_breakpad/processor/stack_frame.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/google_breakpad/processor') 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"; } }; -- cgit v1.2.1