X-Git-Url: https://jfr.im/git/irc/quakenet/newserv.git/blobdiff_plain/f24153fcb31f04d8505237ac5890ea30f14e2c38..8855bb48b449ed06cfd3ce528b3c0a77c37cb24b:/newsearch/newsearch_ast.c diff --git a/newsearch/newsearch_ast.c b/newsearch/newsearch_ast.c index 5afdcedf..63c40f1d 100644 --- a/newsearch/newsearch_ast.c +++ b/newsearch/newsearch_ast.c @@ -11,12 +11,6 @@ typedef union exprunion { char *literal; } exprunion; -typedef struct searchASTCache { - searchASTExpr *tree; - searchASTExpr *cache[AST_RECENT]; - int nextpos; -} searchASTCache; - /* comares either a string and a string or an expression and an expression */ static searchASTExpr *compareloc(searchASTExpr *expr, exprunion *loc) { if(expr->type == AST_NODE_LITERAL) {