Wed, 12 Jun 2013 14:50:27 +0200
fixed worthless memset
src/c2html.c | file | annotate | diff | comparison | revisions |
--- a/src/c2html.c Wed Jun 12 14:48:50 2013 +0200 +++ b/src/c2html.c Wed Jun 12 14:50:27 2013 +0200 @@ -180,9 +180,9 @@ memcpy(&(dest[dp]), "</span>", 7); dp += 7; } + memset(word, 0, WORDBUF_SIZE); + wp = 0; } - memset(word, 0, WORDBUF_SIZE); - wp = 0; dp = writeescapedchar(dest, dp, c); } else { /* read word */