From db81acf574cf11f3427ac2f6f2de3f866b331405 Mon Sep 17 00:00:00 2001 From: Klaus Basan Date: Wed, 18 Mar 2020 23:07:49 +0100 Subject: [PATCH] [XSwiftBus] Added missing return https://discordapp.com/channels/539048679160676382/539925070550794240/689926933642870868 --- src/xswiftbus/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xswiftbus/utils.cpp b/src/xswiftbus/utils.cpp index 8b8feb891..79a38fb45 100644 --- a/src/xswiftbus/utils.cpp +++ b/src/xswiftbus/utils.cpp @@ -28,7 +28,7 @@ namespace XSwiftBus //! Init global xplane path void initXPlanePath() { - if (!g_xplanePath.empty() && !g_sep.empty()) {} + if (!g_xplanePath.empty() && !g_sep.empty()) { return; } char xplanePath[512]; XPLMGetSystemPath(xplanePath);