1
0
Fork 0

Fix compile warnings

This commit is contained in:
Richard Harrison 2021-10-18 18:10:40 +02:00
parent d576b4c6e9
commit be39d5b6ef
2 changed files with 2 additions and 2 deletions

View file

@ -74,7 +74,7 @@ void WindowsFileDialog::exec()
opf.nMaxFile = MAX_PATH;
std::string extensions;
size_t extensionsLen;
size_t extensionsLen=0;
if (!_filterPatterns.empty()) {
for (const auto& ext : _filterPatterns) {
if (!simgear::strutils::starts_with(ext, "*.")) {

View file

@ -263,7 +263,7 @@ FGAV400WSimB::FGAV400WSimB() :
hz2(0.0),
hz2count(0),
hz2cycles(0),
flight_phase(0xFF),
flight_phase(-1),
req_hostid(true),
req_sbas(false)
{