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);