Просмотр исходного кода

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

Michael Fitzmayer 2 недель назад
Родитель
Сommit
93a5d33386
1 измененных файлов с 2 добавлено и 2 удалено
  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