mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 18:29:28 +02:00
pastojs: fixed uninitialized result
git-svn-id: trunk@40620 -
This commit is contained in:
parent
1d7f5fa812
commit
765fdb7641
@ -374,6 +374,9 @@ ToDos:
|
||||
- functions
|
||||
- rtti
|
||||
- bug: DoIt(typeinfo(i)) where DoIt is in another unit and has TTypeInfo
|
||||
- $OPTIMIZATION ON|OFF
|
||||
- $optimization REMOVEEMPTYPROCS
|
||||
- $optimization REMOVEEMPTYPROCS,RemoveNotUsedDeclarations-
|
||||
- setlength(dynarray) modeswitch to not create a copy
|
||||
- 'new', 'Function' -> class var use .prototype
|
||||
- static arrays
|
||||
|
@ -1896,7 +1896,7 @@ var
|
||||
// search in Dir for pp, pas, p times given case, lower case, upper case
|
||||
begin
|
||||
Dir:=IncludeTrailingPathDelimiter(Dir);
|
||||
if IndexOfFile(SearchedDirs,Dir)>=0 then exit;
|
||||
if IndexOfFile(SearchedDirs,Dir)>=0 then exit(false);
|
||||
SearchedDirs.Add(Dir);
|
||||
Filename:=Dir+aUnitname+'.pp';
|
||||
if SearchLowUpCase(Filename) then exit(true);
|
||||
|
Loading…
Reference in New Issue
Block a user