luajit: remove unused instance counter

pull/2414/head
Victor Julien 10 years ago
parent 3012edae1c
commit 0366d47608

@ -1032,7 +1032,6 @@ static int DetectLuaSetup (DetectEngineCtx *de_ctx, Signature *s, char *str)
goto error; goto error;
} }
de_ctx->detect_luajit_instances++;
return 0; return 0;
error: error:

@ -727,8 +727,6 @@ typedef struct DetectEngineCtx_ {
DetectEngineThreadKeywordCtxItem *keyword_list; DetectEngineThreadKeywordCtxItem *keyword_list;
int keyword_id; int keyword_id;
int detect_luajit_instances;
#ifdef PROFILING #ifdef PROFILING
struct SCProfileDetectCtx_ *profile_ctx; struct SCProfileDetectCtx_ *profile_ctx;
struct SCProfileKeywordDetectCtx_ *profile_keyword_ctx; struct SCProfileKeywordDetectCtx_ *profile_keyword_ctx;

Loading…
Cancel
Save