diff options
author | FreeArtMan <dos21h@gmail.com> | 2015-12-17 21:52:25 +0000 |
---|---|---|
committer | FreeArtMan <dos21h@gmail.com> | 2015-12-17 21:52:25 +0000 |
commit | 6e2e285142895f3ed4b7e5b99ff1595092d84969 (patch) | |
tree | d681a1852b4adc8a2540d893d782c5e10ebef84e /tokenizer.c | |
parent | 02496faab558fa758adf3a24006201cf5ab557fb (diff) | |
download | dm-6e2e285142895f3ed4b7e5b99ff1595092d84969.tar.gz dm-6e2e285142895f3ed4b7e5b99ff1595092d84969.zip |
Fixed few warnings
Diffstat (limited to 'tokenizer.c')
-rw-r--r-- | tokenizer.c | 8 |
1 files changed, 0 insertions, 8 deletions
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; i<darr_end(tl->list); i++) { @@ -98,8 +92,6 @@ char* tl_str( token_list *tl ) } } - return s; -error: return NULL; } |