From 6cf24989e8af8c4f9996ba2da2d2217d4be2954e Mon Sep 17 00:00:00 2001 From: mattias Date: Wed, 14 Mar 2012 23:18:01 +0000 Subject: [PATCH] IDE: fixed warning git-svn-id: trunk@36016 - --- debugger/gdbmidebugger.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debugger/gdbmidebugger.pp b/debugger/gdbmidebugger.pp index aa94480b6f..11c5595ea6 100644 --- a/debugger/gdbmidebugger.pp +++ b/debugger/gdbmidebugger.pp @@ -3170,7 +3170,7 @@ function TGDBMIDebuggerCommandDisassembe.DoExecute: Boolean; {$PUSH}{$IFnDEF DBGMI_WITH_DISASS_OVERFLOW}{$Q-}{$R-}{$ENDIF} // Overflow is allowed to occur Addr := Itm^.Addr; Offs := TDBGPtr(Addr - AMemDump.Addr); - if (Offs < 0) or (Offs >= AMemDump.Count) + if (Offs >= AMemDump.Count) then Continue; if (NextItm <> nil) //and (NextItm^.Addr > Addr)