1
0
Эх сурвалжийг харах

[N-Gage] Rename variable to avoid warning that the declaration of free' shadows global declaration.

Michael Fitzmayer 3 сар өмнө
parent
commit
93a5d33386

+ 2 - 2
src/core/ngage/SDL_ngage.cpp

@@ -53,8 +53,8 @@ void NGAGE_DebugPrintf(const char *fmt, ...)
 
 
 TInt NGAGE_GetFreeHeapMemory()
 TInt NGAGE_GetFreeHeapMemory()
 {
 {
-    TInt free = 0;
-    return User::Available(free);
+    TInt heap_available = 0;
+    return User::Available(heap_available);
 }
 }
 
 
 #ifdef __cplusplus
 #ifdef __cplusplus