From ae6b5c6aa153019793011a234783fb6ed790556f Mon Sep 17 00:00:00 2001 From: mmb70 Date: Tue, 21 Jul 2020 15:00:17 -0700 Subject: [PATCH] fix local var names --- src/boot_O2_g3/boot_0x800968B0.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/boot_O2_g3/boot_0x800968B0.c b/src/boot_O2_g3/boot_0x800968B0.c index afc9cd5fc..7afea4ac5 100644 --- a/src/boot_O2_g3/boot_0x800968B0.c +++ b/src/boot_O2_g3/boot_0x800968B0.c @@ -5,14 +5,15 @@ * Compare strings (strcmp). */ s32 func_800968B0(const char* str1, const char* str2) { - char v0; - char v1; + char currentCharStr1; + char currentCharStr2; do { - v0 = *str1++; - v1 = *str2++; - if (v0 != v1) { - return v0 - v1; + currentCharStr1 = *str1++; + currentCharStr2 = *str2++; + if (currentCharStr1 != currentCharStr2) { + return currentCharStr1 - currentCharStr2; } - } while (v0); + } while (currentCharStr1); + return 0; }