From 93a5d33386ba867034d4ec09169325f8f5df3ce0 Mon Sep 17 00:00:00 2001
From: Michael Fitzmayer <[EMAIL REDACTED]>
Date: Tue, 5 May 2026 13:04:07 +0200
Subject: [PATCH] [N-Gage] Rename variable to avoid warning that the
declaration of free' shadows global declaration.
---
src/core/ngage/SDL_ngage.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/core/ngage/SDL_ngage.cpp b/src/core/ngage/SDL_ngage.cpp
index 518d43fd927f3..dcd1daca62803 100644
--- a/src/core/ngage/SDL_ngage.cpp
+++ b/src/core/ngage/SDL_ngage.cpp
@@ -53,8 +53,8 @@ void NGAGE_DebugPrintf(const char *fmt, ...)
TInt NGAGE_GetFreeHeapMemory()
{
- TInt free = 0;
- return User::Available(free);
+ TInt heap_available = 0;
+ return User::Available(heap_available);
}
#ifdef __cplusplus