mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 18:59:43 +02:00
codetools: fixed crash when compiler is broken
git-svn-id: trunk@30888 -
This commit is contained in:
parent
4b9216499c
commit
53b56fb01a
@ -7667,6 +7667,7 @@ begin
|
|||||||
end else
|
end else
|
||||||
debugln(['TFPCTargetConfigCache.Update WARNING: compiler is broken: '+Compiler+' '+ExtraOptions]);
|
debugln(['TFPCTargetConfigCache.Update WARNING: compiler is broken: '+Compiler+' '+ExtraOptions]);
|
||||||
// store the list of tried and read cfg files
|
// store the list of tried and read cfg files
|
||||||
|
if CfgFiles<>nil then
|
||||||
for i:=0 to CfgFiles.Count-1 do begin
|
for i:=0 to CfgFiles.Count-1 do begin
|
||||||
Filename:=CfgFiles[i];
|
Filename:=CfgFiles[i];
|
||||||
if Filename='' then continue;
|
if Filename='' then continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user