summaryrefslogtreecommitdiff
path: root/trafgen_lexer.l
diff options
context:
space:
mode:
Diffstat (limited to 'trafgen_lexer.l')
-rw-r--r--trafgen_lexer.l3
1 files changed, 1 insertions, 2 deletions
diff --git a/trafgen_lexer.l b/trafgen_lexer.l
index 146d0e7..a361bfc 100644
--- a/trafgen_lexer.l
+++ b/trafgen_lexer.l
@@ -24,10 +24,9 @@ extern void yyerror(const char *);
static char *try_convert_shellcode(char *sstr)
{
- int j = 0;
bool found_any = false;
char *bstr, *ostr = sstr, *hay, *orig = sstr;
- size_t blen, slen = strlen(sstr), tot = 0;
+ size_t j = 0, blen, slen = strlen(sstr), tot = 0;
const char *needle = "\\x";
sstr++;