You've already forked lazarus-ccr
Suppress warnings
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@610 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -256,7 +256,6 @@ begin
|
|||||||
if not AEltNode.HasChildNodes() then begin;
|
if not AEltNode.HasChildNodes() then begin;
|
||||||
raise EXsdParserException.Create('Invalid type definition, this element must have children.');
|
raise EXsdParserException.Create('Invalid type definition, this element must have children.');
|
||||||
end;
|
end;
|
||||||
Result := nil;
|
|
||||||
typName := ATypeName;
|
typName := ATypeName;
|
||||||
if IsStrEmpty(typName) then begin
|
if IsStrEmpty(typName) then begin
|
||||||
typName := ExtractTypeName();
|
typName := ExtractTypeName();
|
||||||
|
@ -12,7 +12,6 @@ function GetEnumNameCount(AEnumTypeInfo: PTypeInfo): Integer;
|
|||||||
var
|
var
|
||||||
T: PTypeData;
|
T: PTypeData;
|
||||||
begin
|
begin
|
||||||
Result := 0;
|
|
||||||
T := GetTypeData(AEnumTypeInfo);
|
T := GetTypeData(AEnumTypeInfo);
|
||||||
Result := ( T^.MaxValue - T^.MinValue ) + 1;
|
Result := ( T^.MaxValue - T^.MinValue ) + 1;
|
||||||
end;
|
end;
|
||||||
|
Reference in New Issue
Block a user