Explorar el Código

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

Michael Fitzmayer hace 1 semana
padre
commit
93a5d33386
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/core/ngage/SDL_ngage.cpp

+ 2 - 2
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