mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-27 21:51:33 +01: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;
|
inherited destroy;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
{$warnings off}
|
||||||
function TResourceStream.Write(const Buffer; Count: Longint): Longint;
|
function TResourceStream.Write(const Buffer; Count: Longint): Longint;
|
||||||
begin
|
begin
|
||||||
raise EStreamError.Create(SCantWriteResourceStreamError);
|
raise EStreamError.Create(SCantWriteResourceStreamError);
|
||||||
end;
|
end;
|
||||||
|
{$warnings on}
|
||||||
|
|
||||||
{****************************************************************************}
|
{****************************************************************************}
|
||||||
{* TOwnerStream *}
|
{* TOwnerStream *}
|
||||||
|
|||||||
@ -433,8 +433,7 @@ var
|
|||||||
|
|
||||||
function GetElement: integer;
|
function GetElement: integer;
|
||||||
var
|
var
|
||||||
j: integer;
|
j, c: integer;
|
||||||
c: word;
|
|
||||||
begin
|
begin
|
||||||
result := -1;
|
result := -1;
|
||||||
Inc(Current);
|
Inc(Current);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user