* Fix compiler warning

(cherry picked from commit 1d9a17377d)
This commit is contained in:
Michaël Van Canneyt 2023-02-04 13:03:36 +01:00 committed by marcoonthegit
parent 70967d03aa
commit 4e1e30b102

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