aboutsummaryrefslogtreecommitdiffhomepage
path: root/tokenizer.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-11-21 22:14:28 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-11-21 22:14:28 -0800
commit7117c4a5ee4ebcdaa8ff692b9cc18fb87e6d8038 (patch)
tree3265e2473eee6289ffb6ac600e7360b3fdd67c20 /tokenizer.cpp
parenta3a7c4879998f434e6bc5667ad9943f7f9e6aa74 (diff)
Remove tok_destroy
Diffstat (limited to 'tokenizer.cpp')
-rw-r--r--tokenizer.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/tokenizer.cpp b/tokenizer.cpp
index e555ba2b..378fed1d 100644
--- a/tokenizer.cpp
+++ b/tokenizer.cpp
@@ -110,11 +110,6 @@ tokenizer_t::tokenizer_t(const wchar_t *b, tok_flags_t flags) : buff(NULL), orig
tok_next(this);
}
-void tok_destroy(tokenizer_t *tok)
-{
- CHECK(tok,);
-}
-
int tok_last_type(tokenizer_t *tok)
{
CHECK(tok, TOK_ERROR);
@@ -664,7 +659,6 @@ wchar_t *tok_first(const wchar_t *str)
break;
}
- tok_destroy(&t);
return res;
}
@@ -722,8 +716,6 @@ int main(int argc, char **argv)
break;
}
}
- tok_destroy(&tok);
-
}
}