From bfe346afd2e59fa42645e4f4b292a71e1a1704f3 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Fri, 27 Apr 2007 18:54:33 +0000 Subject: Fixed loads of warnings with MSVC and gcc svn-id: r26615 --- engines/cruise/menu.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'engines/cruise/menu.cpp') diff --git a/engines/cruise/menu.cpp b/engines/cruise/menu.cpp index 5837415ffc..7d16459b1b 100644 --- a/engines/cruise/menu.cpp +++ b/engines/cruise/menu.cpp @@ -214,7 +214,7 @@ int processMenu(menuStruct* pMenu) int playerMenu(int menuX, int menuY) { int retourMenu; - int restartGame = 0; + //int restartGame = 0; if(entrerMenuJoueur && affichePasMenuJoueur) { @@ -294,13 +294,13 @@ void freeMenu(menuStruct* pMenu) while(pSub) { - menuElementSubStruct* next; + menuElementSubStruct* nextSub; - next = pSub->pNext; + nextSub = pSub->pNext; free(pSub); - pSub=next; + pSub=nextSub; } if(pElement->gfx) -- cgit v1.2.3