From a0ee10b114254c835cefb363a5cfe488dca62fc0 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 29 Jul 2019 20:50:30 -0400 Subject: [PATCH 1/2] yuzu-tester/yuzu: Remove unused variable Gets rid of a compilation warning. --- src/yuzu_tester/yuzu.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/yuzu_tester/yuzu.cpp b/src/yuzu_tester/yuzu.cpp index b589c3de3..713d7770b 100644 --- a/src/yuzu_tester/yuzu.cpp +++ b/src/yuzu_tester/yuzu.cpp @@ -92,7 +92,6 @@ int main(int argc, char** argv) { int option_index = 0; - char* endarg; #ifdef _WIN32 int argc_w; auto argv_w = CommandLineToArgvW(GetCommandLineW(), &argc_w); From 6e11cfcdf0acad6bb337f1d60896cdbfd07c1cd2 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 29 Jul 2019 20:55:45 -0400 Subject: [PATCH 2/2] yuzu-tester/yuzu: Correct format string Prevents an invalid formatting exception from being thrown. --- src/yuzu_tester/yuzu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/yuzu_tester/yuzu.cpp b/src/yuzu_tester/yuzu.cpp index 713d7770b..0ee97aa54 100644 --- a/src/yuzu_tester/yuzu.cpp +++ b/src/yuzu_tester/yuzu.cpp @@ -225,7 +225,7 @@ int main(int argc, char** argv) { switch (load_result) { case Core::System::ResultStatus::ErrorGetLoader: - LOG_CRITICAL(Frontend, "Failed to obtain loader for %s!", filepath.c_str()); + LOG_CRITICAL(Frontend, "Failed to obtain loader for {}!", filepath); return -1; case Core::System::ResultStatus::ErrorLoader: LOG_CRITICAL(Frontend, "Failed to load ROM!");