From 6e2e285142895f3ed4b7e5b99ff1595092d84969 Mon Sep 17 00:00:00 2001 From: FreeArtMan Date: Thu, 17 Dec 2015 21:52:25 +0000 Subject: Fixed few warnings --- tokenizer.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'tokenizer.c') diff --git a/tokenizer.c b/tokenizer.c index a7c73e2..f69d404 100644 --- a/tokenizer.c +++ b/tokenizer.c @@ -80,13 +80,7 @@ int tl_add_tok( token_list *tl, int t, char *s, char *e ) /*****************************************************************************/ char* tl_str( token_list *tl ) { - int len = 128; - int p = 0; - char *s = NULL; int i = 0; - //s = malloc( len ); - //s[p] = 0; - for (i=0; ilist); i++) { @@ -98,8 +92,6 @@ char* tl_str( token_list *tl ) } } - return s; -error: return NULL; } -- cgit v1.2.3