mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-26 21:09:26 +02:00
* Fix compiler warning
This commit is contained in:
parent
a33bd31734
commit
1d9a17377d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user