Mercurial > ~dholland > hg > tradcpp > index.cgi
diff output.c @ 103:343af355df1b
Pass -Wunused.
author | David A. Holland |
---|---|
date | Tue, 11 Jun 2013 11:00:01 -0400 |
parents | 27c9aafcaca1 |
children | 1cda505ddc78 |
line wrap: on
line diff
--- a/output.c Tue Jun 11 10:51:30 2013 -0400 +++ b/output.c Tue Jun 11 11:00:01 2013 -0400 @@ -96,7 +96,7 @@ static void -filter_output(const struct place *p, const char *buf, size_t len) +filter_output(const char *buf, size_t len) { size_t pos, start; bool inesc = false; @@ -171,7 +171,7 @@ linebufpos += len; if (len == 1 && buf[0] == '\n') { - filter_output(&linebufplace, linebuf, linebufpos); + filter_output(linebuf, linebufpos); linebufpos = 0; } }