suppress various warnings/hints
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1372 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
parent
eee543f190
commit
1c255f37a7
@ -634,7 +634,6 @@ begin
|
||||
AddObj(AOwner,Result);
|
||||
Except
|
||||
Freemem(Result,resLen);
|
||||
Result := nil;
|
||||
Raise;
|
||||
End;
|
||||
end;
|
||||
@ -668,7 +667,6 @@ begin
|
||||
AddObj(AOwner,Result);
|
||||
Except
|
||||
Freemem(Result,resLen);
|
||||
Result := nil;
|
||||
Raise;
|
||||
End;
|
||||
end;
|
||||
|
@ -337,6 +337,7 @@ begin
|
||||
locInIndex := 0;
|
||||
locAtualLen := 0;
|
||||
locPadded := 0;
|
||||
locInValue := 0;
|
||||
locInLen := Length(AInBuffer);
|
||||
SetLength(Result,locInLen);
|
||||
locBuffer := @(AInBuffer[1]);
|
||||
|
@ -141,7 +141,6 @@ begin
|
||||
Connect();
|
||||
FConnection.IOHandler.Write(buffStream,buffStream.Size,False);
|
||||
|
||||
bufferLen := 0;
|
||||
bufferLen := FConnection.IOHandler.ReadLongInt(False);
|
||||
bufferLen := Reverse_32(bufferLen);
|
||||
if not HasFilter() then begin
|
||||
|
@ -796,7 +796,6 @@ var
|
||||
i : Integer;
|
||||
rp : PServiceRepository;
|
||||
begin
|
||||
Result := nil;
|
||||
i := FindInnerListIndex(ARepName);
|
||||
if ( i < 0 ) then
|
||||
i := InternalLoadRepository(ARepName);
|
||||
|
@ -675,7 +675,7 @@ end;
|
||||
|
||||
procedure TCustomXsdSchemaParser.CreateImportParsers();
|
||||
var
|
||||
crsSchemaChild, typTmpCrs : IObjectCursor;
|
||||
crsSchemaChild : IObjectCursor;
|
||||
strFilter, locFileName, locNameSpace : string;
|
||||
importNode : TDOMElement;
|
||||
importDoc : TXMLDocument;
|
||||
|
@ -219,7 +219,6 @@ Var
|
||||
Function GetWSTResourceManager(Force : Boolean = True) : TWSTResourceManager;
|
||||
|
||||
begin
|
||||
Result:=ResMGR;
|
||||
If (ResMgr=Nil) and Force then
|
||||
ResMGr:=TCollectionResourceManager.Create;
|
||||
Result:=ResMGR;
|
||||
|
@ -565,8 +565,10 @@ begin
|
||||
nfoNotEqual : Result := ( GetOrdProp(AInstance,PropInfo) <> ComparedValue );
|
||||
nfoGreaterOrEqual : Result := ( GetOrdProp(AInstance,PropInfo) >= ComparedValue );
|
||||
nfoLesserOrEqual : Result := ( GetOrdProp(AInstance,PropInfo) <= ComparedValue );
|
||||
else
|
||||
else begin
|
||||
Assert(False);
|
||||
Result := False;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
||||
@ -802,8 +804,10 @@ begin
|
||||
sfoEqualCaseSensitive : Result := ( GetStrProp(AInstance,PropInfo) = ComparedValue );
|
||||
sfoEqualCaseInsensitive : Result := AnsiSameText(GetStrProp(AInstance,PropInfo),ComparedValue);
|
||||
sfoNotEqual : Result := ( GetStrProp(AInstance,PropInfo) <> ComparedValue);
|
||||
else
|
||||
else begin
|
||||
Assert(False);
|
||||
Result := False;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
||||
@ -828,8 +832,10 @@ begin
|
||||
sfoEqualCaseSensitive : Result := ( GetWideStrProp(AInstance,PropInfo) = ComparedValue );
|
||||
sfoEqualCaseInsensitive : Result := ( LowerCase(GetWideStrProp(AInstance,PropInfo)) = LowerCase(ComparedValue) );
|
||||
sfoNotEqual : Result := not SameText(GetWideStrProp(AInstance,PropInfo),ComparedValue);
|
||||
else
|
||||
else begin
|
||||
Assert(False);
|
||||
Result := False;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user