From 352aedc648f46bab5f4130e223b89c4cdf0f5d93 Mon Sep 17 00:00:00 2001 From: coah <100182500+coah80@users.noreply.github.com> Date: Thu, 1 Oct 2026 17:02:58 -0500 Subject: [PATCH] cleanup(NakamuraTest): rename Ghidra locals MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit iVar8 → nupResult, iVar7 → startupErr; drop unused iVar1 in conntestthread. --- src/scene/nakamuraTest/iplNakamuraTest.cpp | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/scene/nakamuraTest/iplNakamuraTest.cpp b/src/scene/nakamuraTest/iplNakamuraTest.cpp index b769db3f..70e92968 100644 --- a/src/scene/nakamuraTest/iplNakamuraTest.cpp +++ b/src/scene/nakamuraTest/iplNakamuraTest.cpp @@ -234,10 +234,10 @@ namespace ipl { OSReport("NUP region code : %s\n", productAreaString); const char* isoCountryCode = SCUTILGetISOCountryCodeA2(); OSReport("NUP country code : %s\n", isoCountryCode); - int iVar8 = NUP_Start(mpNUPInstance, nus, isoCountryCode, productAreaString, 0); + int nupResult = NUP_Start(mpNUPInstance, nus, isoCountryCode, productAreaString, 0); OSReport("NUP_Start()\n"); - if (iVar8 < 0) { - switch (iVar8) { + if (nupResult < 0) { + switch (nupResult) { case -5000: { OSReport("FAIL ALLOC\n"); } @@ -426,8 +426,8 @@ namespace ipl { int val; int len = 4; if (SOGetInterfaceOpt(NULL, SO_SOL_CONFIG, SO_CONFIG_ERROR, &val, &len) == 0 && val == -111) { - int iVar7 = NETGetStartupErrorCode(-111); - mNetSetupLastErr = (-iVar7 / 100) * 100; + int startupErr = NETGetStartupErrorCode(-111); + mNetSetupLastErr = (-startupErr / 100) * 100; mNetSetupLastErr = mNetSetup.getconntype(); } Setting* settingScene = (Setting*)System::getScene(SCENE_SETTING); @@ -451,8 +451,6 @@ namespace ipl { } void* NakamuraTest::conntestthread(void*) { - int iVar1; - IPLContestStart(); while (true) { switch (IPLContestProcess()) { -- 2.49.1