diff options
author | tron <tron@openttd.org> | 2005-12-14 06:28:48 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-12-14 06:28:48 +0000 |
commit | bf98086de80da38fb0256f3f076d5069f6b4e997 (patch) | |
tree | 7efaf8780f89086574128eced521726184ff5f5b /gfx.c | |
parent | 23bfc03054c52065006a73d8cebdeee068784892 (diff) | |
download | openttd-bf98086de80da38fb0256f3f076d5069f6b4e997.tar.xz |
(svn r3298) Remove unused and write-only variables
Diffstat (limited to 'gfx.c')
-rw-r--r-- | gfx.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -484,7 +484,7 @@ void DrawStringMultiLine(int x, int y, StringID str, int maxw) { char buffer[512]; uint32 tmp; - int num, w, mt; + int num, mt; const char *src; byte c; @@ -502,7 +502,6 @@ void DrawStringMultiLine(int x, int y, StringID str, int maxw) src = buffer; for(;;) { - w = GetStringWidth(src); DoDrawString(src, x, y, 0xFE); _stringwidth_base = _stringwidth_out; |