From 5fbf6d0bfd32ab520c6cf67a330c9a2240882750 Mon Sep 17 00:00:00 2001 From: oy Date: Thu, 5 May 2011 01:43:27 +0200 Subject: fixed compiler warnings. Closes #679 --- src/game/client/components/menus.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/game/client/components/menus.cpp') diff --git a/src/game/client/components/menus.cpp b/src/game/client/components/menus.cpp index 6b577fd4..64754c68 100644 --- a/src/game/client/components/menus.cpp +++ b/src/game/client/components/menus.cpp @@ -645,8 +645,6 @@ void CMenus::RenderLoading() RenderBackground(); - float tw; - float w = 700; float h = 200; float x = Screen.w/2-w/2; @@ -663,7 +661,6 @@ void CMenus::RenderLoading() const char *pCaption = Localize("Loading"); - tw = TextRender()->TextWidth(0, 48.0f, pCaption, -1); CUIRect r; r.x = x; r.y = y+20; -- cgit 1.4.1