summaryrefslogtreecommitdiffhomepage
path: root/proto-ft
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-01-05 23:47:04 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-01-05 23:47:04 +0100
commit7c8fd6294ffa533923e4efbc38583e017a7ccd72 (patch)
tree6c98f4e844610120d005013ba464d4ab2bfa4094 /proto-ft
parent8c93f1bcfa8d7bba8b70a6b521baf43fc619eeda (diff)
proto/freetrack: fix uninitialized variable
https://forum.il2sturmovik.ru/topic/5061-opentrack/page/30/#comment-864548
Diffstat (limited to 'proto-ft')
-rw-r--r--proto-ft/ftnoir_protocol_ft.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto-ft/ftnoir_protocol_ft.cpp b/proto-ft/ftnoir_protocol_ft.cpp
index 42540519..7f710621 100644
--- a/proto-ft/ftnoir_protocol_ft.cpp
+++ b/proto-ft/ftnoir_protocol_ft.cpp
@@ -160,7 +160,7 @@ module_status freetrack::set_protocols()
QString location = *s.custom_location_pathname;
- bool use_freetrack, use_npclient;
+ bool use_freetrack = true, use_npclient = true;
switch (*s.used_interface)
{
case settings::enable_npclient: use_freetrack = false; break;