=================================================================== RCS file: /cvs/mandoc/tree.c,v retrieving revision 1.46 retrieving revision 1.48 diff -u -p -r1.46 -r1.48 --- mandoc/tree.c 2011/07/23 12:01:54 1.46 +++ mandoc/tree.c 2013/05/18 17:08:43 1.48 @@ -1,6 +1,6 @@ -/* $Id: tree.c,v 1.46 2011/07/23 12:01:54 kristaps Exp $ */ +/* $Id: tree.c,v 1.48 2013/05/18 17:08:43 schwarze Exp $ */ /* - * Copyright (c) 2008, 2009 Kristaps Dzonsons + * Copyright (c) 2008, 2009, 2011 Kristaps Dzonsons * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -58,13 +58,11 @@ print_mdoc(const struct mdoc_node *n, int indent) { const char *p, *t; int i, j; - size_t argc, sz; - char **params; + size_t argc; struct mdoc_argv *argv; argv = NULL; - argc = sz = 0; - params = NULL; + argc = 0; t = p = NULL; switch (n->type) { @@ -162,9 +160,6 @@ print_mdoc(const struct mdoc_node *n, int indent) printf(" ]"); } - for (i = 0; i < (int)sz; i++) - printf(" [%s]", params[i]); - printf(" %d:%d\n", n->line, n->pos); }