mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-22 17:11:32 +02:00
* fixed warning and note while compiling RTL.
git-svn-id: trunk@4265 -
This commit is contained in:
parent
58cbcae50b
commit
82b74ffc64
@ -756,11 +756,12 @@ destructor TResourceStream.Destroy;
|
||||
inherited destroy;
|
||||
end;
|
||||
|
||||
|
||||
{$warnings off}
|
||||
function TResourceStream.Write(const Buffer; Count: Longint): Longint;
|
||||
begin
|
||||
raise EStreamError.Create(SCantWriteResourceStreamError);
|
||||
end;
|
||||
{$warnings on}
|
||||
|
||||
{****************************************************************************}
|
||||
{* TOwnerStream *}
|
||||
|
@ -433,8 +433,7 @@ var
|
||||
|
||||
function GetElement: integer;
|
||||
var
|
||||
j: integer;
|
||||
c: word;
|
||||
j, c: integer;
|
||||
begin
|
||||
result := -1;
|
||||
Inc(Current);
|
||||
|
Loading…
Reference in New Issue
Block a user