Assorted warning fixes

This commit is contained in:
Henrik Rydgård committed 2026-08-03 18:55:35 +02:00
1 parent 4d98ff8404
commit 55eee26c52
5 files changed
+4 -12

No files matched your search

-3
View File
@@ -578,9 +578,7 @@ void NativeInit(int argc, const char *argv[], const CommandLineOptions &cmdLineO
// Apply parsed command line options to config.
cmdLineOptions.ApplyToConfig();
bool gotBootFilename = false;
boot_filename.clear();
if (boot_filename.empty() && cmdLineOptions.bootVSH.has_value() && cmdLineOptions.bootVSH.value()) {
boot_filename = g_Config.flash0Directory / "vsh/module/vshmain.prx";
}
@@ -629,7 +627,6 @@ void NativeInit(int argc, const char *argv[], const CommandLineOptions &cmdLineO
// don't already have one.
if (!cmdLineOptions.bootFilenames.empty()) {
std::string bootFilename = cmdLineOptions.bootFilenames[0];
gotBootFilename = true;
INFO_LOG(Log::System, "Boot filename found in args: '%s'", bootFilename.c_str());
bool okToLoad = true;