Fix warning detected by gcc 4.9.1

- unused variables
- linker error with the MinGW DX SDK
- don't delete a void* pointer
- initialization order
This commit is contained in:
Roland Winklmeier
2014-09-28 13:06:58 +02:00
parent f43f3013fe
commit 8ba1a37ea7
3 changed files with 14 additions and 4 deletions

View File

@@ -44,8 +44,8 @@ namespace BlackSimPlugin
ISimulator(parent),
m_fs9Host(new CFs9Host),
m_hostThread(this),
m_simulatorInfo(CSimulatorInfo::FS9()),
m_lobbyClient(new CLobbyClient(this)),
m_simulatorInfo(CSimulatorInfo::FS9()),
m_fsuipc(new FsCommon::CFsuipc())
{
// We move the host thread already in the constructor
@@ -332,7 +332,10 @@ namespace BlackSimPlugin
m_fs9ClientThreads.remove(client);
m_hashFs9Clients.remove(callsign);
break;
}
default:
break;
}
}