mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 11:38:19 +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);
|
||||
close(f);
|
||||
{$pop}
|
||||
if ioresult<>0 then;
|
||||
if ioresult<>0 then
|
||||
Result:=true;
|
||||
end;
|
||||
|
||||
|
@ -1797,7 +1797,7 @@ implementation
|
||||
freemem(zerobuf,maxfillsize);
|
||||
close(f);
|
||||
{$pop}
|
||||
if ioresult<>0 then;
|
||||
if ioresult<>0 then
|
||||
postprocessexecutable:=true;
|
||||
end;
|
||||
|
||||
|
@ -1138,7 +1138,7 @@ end;
|
||||
|
||||
procedure TChmWriter.WriteSTRINGS;
|
||||
begin
|
||||
if FStringsStream.Size = 0 then;
|
||||
if FStringsStream.Size = 0 then
|
||||
FStringsStream.WriteByte(0);
|
||||
FStringsStream.Position := 0;
|
||||
PostAddStreamToArchive('#STRINGS', '/', FStringsStream);
|
||||
|
@ -1303,7 +1303,7 @@ begin
|
||||
raise EXsdParserException.CreateFmt(SERR_ExpectedTypeDefinition,[FTypeName]);
|
||||
locContinue := locSym.getBoolean(s_Unresolved) or
|
||||
(IsEmbeddedType(locSym) <> FEmbededDef);
|
||||
if not locContinue then;
|
||||
if not locContinue then
|
||||
Result := locSym;
|
||||
end;
|
||||
if locContinue then begin
|
||||
|
@ -248,7 +248,7 @@ end;
|
||||
|
||||
procedure TProxyWebModule.DoLog(const aMethod,aLocation, aFromURL, aToURL: String);
|
||||
begin
|
||||
If Assigned(ProxyManager) and Assigned(ProxyManager.OnLog) then;
|
||||
If Assigned(ProxyManager) and Assigned(ProxyManager.OnLog) then
|
||||
ProxyManager.OnLog(Self,aMethod,aLocation,aFromURl,aToURL);
|
||||
end;
|
||||
|
||||
|
@ -153,7 +153,7 @@ procedure TWinCEGAPIConsole.Close;
|
||||
begin
|
||||
LOG('TWinCEGAPIConsole.Close');
|
||||
|
||||
if FGXDisplayIsOpen Then;
|
||||
if FGXDisplayIsOpen then
|
||||
GXCloseDisplay;
|
||||
FGXDisplayIsOpen := False;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user