Cleanup: Remove a useless check.
Review URL: http://breakpad.appspot.com/174001 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@670 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
34d3a2e0f3
commit
aadace2751
@ -151,12 +151,10 @@ StackFrame* StackwalkerAMD64::GetCallerFrame(const CallStack *stack) {
|
|||||||
scoped_ptr<StackFrameAMD64> new_frame;
|
scoped_ptr<StackFrameAMD64> new_frame;
|
||||||
|
|
||||||
// If we have DWARF CFI information, use it.
|
// If we have DWARF CFI information, use it.
|
||||||
if (!new_frame.get()) {
|
scoped_ptr<CFIFrameInfo> cfi_frame_info(
|
||||||
scoped_ptr<CFIFrameInfo> cfi_frame_info(resolver_
|
resolver_->FindCFIFrameInfo(last_frame));
|
||||||
->FindCFIFrameInfo(last_frame));
|
|
||||||
if (cfi_frame_info.get())
|
if (cfi_frame_info.get())
|
||||||
new_frame.reset(GetCallerByCFIFrameInfo(frames, cfi_frame_info.get()));
|
new_frame.reset(GetCallerByCFIFrameInfo(frames, cfi_frame_info.get()));
|
||||||
}
|
|
||||||
|
|
||||||
// If nothing worked, tell the caller.
|
// If nothing worked, tell the caller.
|
||||||
if (!new_frame.get())
|
if (!new_frame.get())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user