mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-01 14:30:27 +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
|
- functions
|
||||||
- rtti
|
- rtti
|
||||||
- bug: DoIt(typeinfo(i)) where DoIt is in another unit and has TTypeInfo
|
- 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
|
- setlength(dynarray) modeswitch to not create a copy
|
||||||
- 'new', 'Function' -> class var use .prototype
|
- 'new', 'Function' -> class var use .prototype
|
||||||
- static arrays
|
- static arrays
|
||||||
|
@ -1896,7 +1896,7 @@ var
|
|||||||
// search in Dir for pp, pas, p times given case, lower case, upper case
|
// search in Dir for pp, pas, p times given case, lower case, upper case
|
||||||
begin
|
begin
|
||||||
Dir:=IncludeTrailingPathDelimiter(Dir);
|
Dir:=IncludeTrailingPathDelimiter(Dir);
|
||||||
if IndexOfFile(SearchedDirs,Dir)>=0 then exit;
|
if IndexOfFile(SearchedDirs,Dir)>=0 then exit(false);
|
||||||
SearchedDirs.Add(Dir);
|
SearchedDirs.Add(Dir);
|
||||||
Filename:=Dir+aUnitname+'.pp';
|
Filename:=Dir+aUnitname+'.pp';
|
||||||
if SearchLowUpCase(Filename) then exit(true);
|
if SearchLowUpCase(Filename) then exit(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user