mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-05 23:38:38 +02:00
* some warnings fixed
This commit is contained in:
parent
d3ec8f0d29
commit
f78818e387
@ -803,6 +803,7 @@ implementation
|
|||||||
(oo_is_forward in tobjectdef(ttypesym(sym).typedef).objectoptions) then
|
(oo_is_forward in tobjectdef(ttypesym(sym).typedef).objectoptions) then
|
||||||
begin
|
begin
|
||||||
wasforward:=true;
|
wasforward:=true;
|
||||||
|
objecttype:=odt_none;
|
||||||
case token of
|
case token of
|
||||||
_CLASS :
|
_CLASS :
|
||||||
objecttype:=default_class_type;
|
objecttype:=default_class_type;
|
||||||
|
@ -2383,6 +2383,7 @@ implementation
|
|||||||
|
|
||||||
if (p1.nodetype=stringconstn) and (token=_ID) then
|
if (p1.nodetype=stringconstn) and (token=_ID) then
|
||||||
begin
|
begin
|
||||||
|
strdef:=nil;
|
||||||
{ the def of a string const is an array }
|
{ the def of a string const is an array }
|
||||||
case tstringconstnode(p1).cst_type of
|
case tstringconstnode(p1).cst_type of
|
||||||
cst_conststring:
|
cst_conststring:
|
||||||
|
@ -548,6 +548,7 @@ implementation
|
|||||||
|
|
||||||
function same_constvalue(consttyp:tconsttyp;const value1,value2:tconstvalue):boolean;
|
function same_constvalue(consttyp:tconsttyp;const value1,value2:tconstvalue):boolean;
|
||||||
begin
|
begin
|
||||||
|
result:=false;
|
||||||
case consttyp of
|
case consttyp of
|
||||||
constnone,
|
constnone,
|
||||||
constnil:
|
constnil:
|
||||||
|
Loading…
Reference in New Issue
Block a user