mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-21 12:49:28 +02:00
* Correct errors like "then;" . Fixes issue #41171
This commit is contained in:
parent
2ef405b3e5
commit
0df9da502b
@ -449,7 +449,7 @@ begin
|
|||||||
BlockWrite(f,maxalloc,2);
|
BlockWrite(f,maxalloc,2);
|
||||||
close(f);
|
close(f);
|
||||||
{$pop}
|
{$pop}
|
||||||
if ioresult<>0 then;
|
if ioresult<>0 then
|
||||||
Result:=true;
|
Result:=true;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
@ -1797,7 +1797,7 @@ implementation
|
|||||||
freemem(zerobuf,maxfillsize);
|
freemem(zerobuf,maxfillsize);
|
||||||
close(f);
|
close(f);
|
||||||
{$pop}
|
{$pop}
|
||||||
if ioresult<>0 then;
|
if ioresult<>0 then
|
||||||
postprocessexecutable:=true;
|
postprocessexecutable:=true;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
@ -1138,7 +1138,7 @@ end;
|
|||||||
|
|
||||||
procedure TChmWriter.WriteSTRINGS;
|
procedure TChmWriter.WriteSTRINGS;
|
||||||
begin
|
begin
|
||||||
if FStringsStream.Size = 0 then;
|
if FStringsStream.Size = 0 then
|
||||||
FStringsStream.WriteByte(0);
|
FStringsStream.WriteByte(0);
|
||||||
FStringsStream.Position := 0;
|
FStringsStream.Position := 0;
|
||||||
PostAddStreamToArchive('#STRINGS', '/', FStringsStream);
|
PostAddStreamToArchive('#STRINGS', '/', FStringsStream);
|
||||||
|
@ -1303,7 +1303,7 @@ begin
|
|||||||
raise EXsdParserException.CreateFmt(SERR_ExpectedTypeDefinition,[FTypeName]);
|
raise EXsdParserException.CreateFmt(SERR_ExpectedTypeDefinition,[FTypeName]);
|
||||||
locContinue := locSym.getBoolean(s_Unresolved) or
|
locContinue := locSym.getBoolean(s_Unresolved) or
|
||||||
(IsEmbeddedType(locSym) <> FEmbededDef);
|
(IsEmbeddedType(locSym) <> FEmbededDef);
|
||||||
if not locContinue then;
|
if not locContinue then
|
||||||
Result := locSym;
|
Result := locSym;
|
||||||
end;
|
end;
|
||||||
if locContinue then begin
|
if locContinue then begin
|
||||||
|
@ -248,7 +248,7 @@ end;
|
|||||||
|
|
||||||
procedure TProxyWebModule.DoLog(const aMethod,aLocation, aFromURL, aToURL: String);
|
procedure TProxyWebModule.DoLog(const aMethod,aLocation, aFromURL, aToURL: String);
|
||||||
begin
|
begin
|
||||||
If Assigned(ProxyManager) and Assigned(ProxyManager.OnLog) then;
|
If Assigned(ProxyManager) and Assigned(ProxyManager.OnLog) then
|
||||||
ProxyManager.OnLog(Self,aMethod,aLocation,aFromURl,aToURL);
|
ProxyManager.OnLog(Self,aMethod,aLocation,aFromURl,aToURL);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
@ -153,7 +153,7 @@ procedure TWinCEGAPIConsole.Close;
|
|||||||
begin
|
begin
|
||||||
LOG('TWinCEGAPIConsole.Close');
|
LOG('TWinCEGAPIConsole.Close');
|
||||||
|
|
||||||
if FGXDisplayIsOpen Then;
|
if FGXDisplayIsOpen then
|
||||||
GXCloseDisplay;
|
GXCloseDisplay;
|
||||||
FGXDisplayIsOpen := False;
|
FGXDisplayIsOpen := False;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user