about summary refs log tree commit diff
path: root/src/game/client/components/menus.cpp
diff options
context:
space:
mode:
authoroy <Tom_Adams@web.de>2011-05-05 01:43:27 +0200
committeroy <Tom_Adams@web.de>2011-05-05 01:43:27 +0200
commit5fbf6d0bfd32ab520c6cf67a330c9a2240882750 (patch)
treef016fcc0fdb475049be27ac0bf96efccc03de47e /src/game/client/components/menus.cpp
parent41ebc9bc9d9bdda650799a6c9dc9a5ed15a55430 (diff)
downloadzcatch-5fbf6d0bfd32ab520c6cf67a330c9a2240882750.tar.gz
zcatch-5fbf6d0bfd32ab520c6cf67a330c9a2240882750.zip
fixed compiler warnings. Closes #679
Diffstat (limited to 'src/game/client/components/menus.cpp')
-rw-r--r--src/game/client/components/menus.cpp3
1 files changed, 0 insertions, 3 deletions
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;