From ebb64d5bf4c6a1b3e89e7addbd72ca310be7807b Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 2 May 2021 22:14:15 -0400 Subject: core: Resolve misc cases of variable shadowing Resolves shadowing warnings that aren't in a particularly large subsection of core. Brings us closer to turning -Wshadow into an error. All that remains now is for cases in the kernel (left untouched for now since a big change by bunnei is pending), and a few left over in the service code (will be tackled next). --- src/core/tools/freezer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/tools/freezer.h') diff --git a/src/core/tools/freezer.h b/src/core/tools/freezer.h index 0fdb701a7..067134e93 100644 --- a/src/core/tools/freezer.h +++ b/src/core/tools/freezer.h @@ -43,7 +43,7 @@ public: ~Freezer(); // Enables or disables the entire memory freezer. - void SetActive(bool active); + void SetActive(bool is_active); // Returns whether or not the freezer is active. bool IsActive() const; -- cgit v1.2.3