summaryrefslogtreecommitdiff
path: root/src/client/ascii.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2013-01-06 21:13:16 +0400
committerAndrey Nazarov <skuller@skuller.net>2013-01-07 14:54:56 +0400
commit5f9eed3c3478a0ab5d01018b343ec39cb22a173e (patch)
tree53706249655117889d4c7219e398a16177c916b3 /src/client/ascii.c
parent5ecbf20d85b39e20c6d12f6839c02a780825297c (diff)
Fix some scan-build detected issues.
Fix potential crash when parsing unknown long options. Silence a few warnings.
Diffstat (limited to 'src/client/ascii.c')
-rw-r--r--src/client/ascii.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/client/ascii.c b/src/client/ascii.c
index 3c1cfaa..c973523 100644
--- a/src/client/ascii.c
+++ b/src/client/ascii.c
@@ -104,7 +104,6 @@ static void TH_DrawLayoutString(char *dst, const char *s)
x = 0;
y = 0;
- width = 3;
while (s) {
token = COM_Parse(&s);