about summary refs log tree commit diff
path: root/src/engine/client/text.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/engine/client/text.cpp
parent41ebc9bc9d9bdda650799a6c9dc9a5ed15a55430 (diff)
downloadzcatch-5fbf6d0bfd32ab520c6cf67a330c9a2240882750.tar.gz
zcatch-5fbf6d0bfd32ab520c6cf67a330c9a2240882750.zip
fixed compiler warnings. Closes #679
Diffstat (limited to 'src/engine/client/text.cpp')
-rw-r--r--src/engine/client/text.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/engine/client/text.cpp b/src/engine/client/text.cpp
index b0896b92..4a3a2eb3 100644
--- a/src/engine/client/text.cpp
+++ b/src/engine/client/text.cpp
@@ -570,7 +570,6 @@ public:
 		float DrawX = 0.0f, DrawY = 0.0f;
 		int LineCount = 0;
 		float CursorX, CursorY;
-		const char *pEnd;
 
 		float Size = pCursor->m_FontSize;
 
@@ -605,8 +604,6 @@ public:
 		if(Length < 0)
 			Length = str_length(pText);
 
-		pEnd = pText + Length;
-
 		// if we don't want to render, we can just skip the first outline pass
 		i = 1;
 		if(pCursor->m_Flags&TEXTFLAG_RENDER)