codetools: clean up

git-svn-id: trunk@39056 -
This commit is contained in:
mattias 2012-10-12 09:50:07 +00:00
parent 7da06141ab
commit 3c263bbbaa

View File

@ -589,11 +589,7 @@ begin
if FilenameIsAbsolute(AFilename) then begin
if Result=nil then begin
// load new buffer
{$IFnDEF FixCodeCacheLoadFileBug}
// This line is wrong. The file is not in cache and we should not exit here.
// For some reason removing the line breaks debugger, that's why the IFnDEF
if (not FileExistsCached(AFilename)) then exit;
{$ENDIF}
if DirectoryCachePool<>nil then
DiskFilename:=DirectoryCachePool.FindDiskFilename(AFilename)
else