=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: dbghelp: Remove useless code in ARM stack walk.

Alexandre Julliard julliard at winehq.org
Wed Jan 23 16:40:18 CST 2013


Module: wine
Branch: master
Commit: 9d49dd82e8c3e40b9aa847d14af6cda3a37f5fe3
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=9d49dd82e8c3e40b9aa847d14af6cda3a37f5fe3

Author: André Hentschel <nerv at dawncrow.de>
Date:   Tue Jan 22 20:35:21 2013 +0100

dbghelp: Remove useless code in ARM stack walk.

---

 dlls/dbghelp/cpu_arm.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/dlls/dbghelp/cpu_arm.c b/dlls/dbghelp/cpu_arm.c
index 769bc95..740db0f 100644
--- a/dlls/dbghelp/cpu_arm.c
+++ b/dlls/dbghelp/cpu_arm.c
@@ -99,13 +99,6 @@ static BOOL arm_stack_walk(struct cpu_stack_walk* csw, LPSTACKFRAME64 frame, CON
 
     if (curr_mode == stm_start)
     {
-        if ((frame->AddrPC.Mode == AddrModeFlat) &&
-            (frame->AddrFrame.Mode != AddrModeFlat))
-        {
-            WARN("Bad AddrPC.Mode / AddrFrame.Mode combination\n");
-            goto done_err;
-        }
-
         /* Init done */
         set_curr_mode(stm_arm);
         frame->AddrReturn.Mode = frame->AddrStack.Mode = AddrModeFlat;




More information about the wine-cvs mailing list