mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 20:29:23 +02:00
* Fixed warning and notes.
git-svn-id: trunk@10899 -
This commit is contained in:
parent
e2634e0b8d
commit
d1dd8bd928
@ -1711,7 +1711,7 @@ function SwapEndian(const AValue: SmallInt): SmallInt;
|
|||||||
{ is turned into "longint(AValue) shr 8", so if AValue < 0 then }
|
{ is turned into "longint(AValue) shr 8", so if AValue < 0 then }
|
||||||
{ the sign bits from the upper 16 bits are shifted in rather than }
|
{ the sign bits from the upper 16 bits are shifted in rather than }
|
||||||
{ zeroes. }
|
{ zeroes. }
|
||||||
Result := SmallInt((Word(AValue) shr 8) or (AValue shl 8));
|
Result := SmallInt((Word(AValue) shr 8) or (Word(AValue) shl 8));
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
@ -1014,7 +1014,6 @@ Function ErrorWrite(Var F: TextRec): Integer;
|
|||||||
An error message should always end with #13#10#13#10
|
An error message should always end with #13#10#13#10
|
||||||
}
|
}
|
||||||
var
|
var
|
||||||
p : pchar;
|
|
||||||
i : longint;
|
i : longint;
|
||||||
Begin
|
Begin
|
||||||
while F.BufPos>0 do
|
while F.BufPos>0 do
|
||||||
|
@ -1674,7 +1674,6 @@ Function ErrorWrite(Var F: TextRec): Integer;
|
|||||||
An error message should always end with #13#10#13#10
|
An error message should always end with #13#10#13#10
|
||||||
}
|
}
|
||||||
var
|
var
|
||||||
p : pchar;
|
|
||||||
i : longint;
|
i : longint;
|
||||||
Begin
|
Begin
|
||||||
while F.BufPos>0 do
|
while F.BufPos>0 do
|
||||||
|
Loading…
Reference in New Issue
Block a user