mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
Remove dead code
This commit is contained in:
@@ -716,8 +716,6 @@ type
|
||||
EditVariableForm : TfrmEditVariable;
|
||||
FileNameSessionLog : String;
|
||||
FileHandleSessionLog : Textfile;
|
||||
SqlMessages : TWideStringList;
|
||||
SqlMessagesLock : TRtlCriticalSection;
|
||||
dsShowEngines,
|
||||
dsHaveEngines,
|
||||
dsCollations,
|
||||
@@ -1065,9 +1063,6 @@ var
|
||||
filename : String;
|
||||
begin
|
||||
DoDisconnect;
|
||||
EnterCriticalSection(SqlMessagesLock);
|
||||
FreeAndNil(SqlMessages);
|
||||
LeaveCriticalSection(SqlMessagesLock);
|
||||
|
||||
OpenRegistry;
|
||||
// Position of Toolbars
|
||||
@@ -1190,11 +1185,6 @@ begin
|
||||
|
||||
CachedTableLists := TWideStringList.Create;
|
||||
|
||||
InitializeCriticalSection(SqlMessagesLock);
|
||||
EnterCriticalSection(SqlMessagesLock);
|
||||
SqlMessages := TWideStringList.Create;
|
||||
LeaveCriticalSection(SqlMessagesLock);
|
||||
|
||||
Delimiter := GetRegValue(REGNAME_DELIMITER, DEFAULT_DELIMITER);
|
||||
|
||||
// Delphi work around to force usage of Vista's default font (other OSes will be unaffected)
|
||||
|
||||
Reference in New Issue
Block a user