mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 09:17:36 +01:00
Kill potentially uninitialized variable warning
This commit is contained in:
@@ -470,6 +470,8 @@ class DatabaseWorkerPool
|
||||
t = new T(_queue, *_connectionInfo);
|
||||
else if (type == IDX_SYNCH)
|
||||
t = new T(*_connectionInfo);
|
||||
else
|
||||
ASSERT(false);
|
||||
|
||||
_connections[type][i] = t;
|
||||
++_connectionCount[type];
|
||||
|
||||
Reference in New Issue
Block a user