diff --git a/src/MultiPlayer/multiplaymgr.cxx b/src/MultiPlayer/multiplaymgr.cxx index b9f9bd7d5..f73625992 100644 --- a/src/MultiPlayer/multiplaymgr.cxx +++ b/src/MultiPlayer/multiplaymgr.cxx @@ -1137,7 +1137,7 @@ FGMultiplayMgr::init (void) if (rxPort <= 0) rxPort = txPort; } else { - SG_LOG(SG_NETWORK, SG_INFO, "FGMultiplayMgr - multiplayer mode disabled (no MP server specificed)."); + SG_LOG(SG_NETWORK, SG_INFO, "FGMultiplayMgr - multiplayer mode disabled (no MP server specified)."); return; } diff --git a/src/Viewer/splash.cxx b/src/Viewer/splash.cxx index 955d80520..ddb9dea97 100644 --- a/src/Viewer/splash.cxx +++ b/src/Viewer/splash.cxx @@ -124,7 +124,7 @@ void SplashScreen::createNodes() std::string licenseUrlText = globals->get_locale()->getLocalizedString("license-url", "sys", LICENSE_URL_TEXT); // add the splash image std::string splashImageName = selectSplashImage(); - const ImageItem* splashImage = addImage(splashImageName, true, 0, 0, 1, 1, nullptr, true); + addImage(splashImageName, true, 0, 0, 1, 1, nullptr, true); // parse the content from the tree // there can be many and nodes