mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
initialize some pointers to null
This commit is contained in:
@@ -557,9 +557,9 @@ namespace BlackCore
|
||||
|
||||
void NetworkVatlib::onPilotInfoReceived(Cvatlib_Network* net, const char* callsign, const char** keysValues, void* cbvar)
|
||||
{
|
||||
const char* acTypeICAO;
|
||||
const char* airlineICAO;
|
||||
const char* livery;
|
||||
const char* acTypeICAO = nullptr;
|
||||
const char* airlineICAO = nullptr;
|
||||
const char* livery = nullptr;
|
||||
while (*keysValues)
|
||||
{
|
||||
QString key (*keysValues);
|
||||
|
||||
Reference in New Issue
Block a user