* Fix compiler warning

This commit is contained in:
Michaël Van Canneyt 2023-02-04 13:03:36 +01:00
parent a33bd31734
commit 1d9a17377d

View File

@ -660,7 +660,6 @@ function TSQLDBConnectionmanager.CreateConnection(const aDef: TSQLDBConnectionDe
var
C : TSQLConnectionClass;
S : String;
begin
C:=aDef.ConnectionClass;
@ -671,7 +670,6 @@ begin
Result:=C.Create(Self.ConnectionOwner);
try
aDef.AssignTo(Result);
S:=SetToString(PTypeInfo(TypeInfo(TDBEventTypes)),Integer(Self.LogEvents),True);
Result.LogEvents:=Self.LogEvents;
Result.Transaction:=TSQLTransaction.Create(Result);
except