summaryrefslogtreecommitdiffstats
path: root/cmd_parse.ragel
diff options
context:
space:
mode:
Diffstat (limited to 'cmd_parse.ragel')
-rw-r--r--cmd_parse.ragel4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd_parse.ragel b/cmd_parse.ragel
index 2fa030c..30a4676 100644
--- a/cmd_parse.ragel
+++ b/cmd_parse.ragel
@@ -73,7 +73,7 @@ int parse_cmd( cmd_tok_t *tl, const char *str, size_t str_size )
char *ts, *te = 0;
/*save for cmd_begin state*/
- char *ts_cb=0, *te_cb=0;
+ //char *ts_cb=0, *te_cb=0;
printf("PE:%s %02x\n",pe,(unsigned char)*pe);
@@ -86,7 +86,7 @@ int parse_cmd( cmd_tok_t *tl, const char *str, size_t str_size )
if ( cs == cmd_error )
{
- printf("CLIPARSE ERR state [%d] pos[%d]:[%s]\n", res, p-str, p);
+ printf("CLIPARSE ERR state [%d] pos[%ld]:[%s]\n", res, p-str, p);
res = -1;
}