diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2012-06-27 07:17:20 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2012-06-27 07:17:20 +0000 |
commit | 9e1aedd648eb47b5ffa63612ad5e21b4de30b1e0 (patch) | |
tree | edba65b1bbbb11a30255ecfbccc282ea908d575d /bin/ksh/tree.c | |
parent | 16e6047e84444dba2fa3cad9fdc6592e86572899 (diff) |
fptreef() always returns 0 and we never use the return value anyway,
so make it void; from Michael W. Bombardieri.
Diffstat (limited to 'bin/ksh/tree.c')
-rw-r--r-- | bin/ksh/tree.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/bin/ksh/tree.c b/bin/ksh/tree.c index b46434e7c86..127c1e3678b 100644 --- a/bin/ksh/tree.c +++ b/bin/ksh/tree.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tree.c,v 1.19 2008/08/11 21:50:35 jaredy Exp $ */ +/* $OpenBSD: tree.c,v 1.20 2012/06/27 07:17:19 otto Exp $ */ /* * command tree climbing @@ -353,16 +353,14 @@ tputS(char *wp, struct shf *shf) * variable args with an ANSI compiler */ /* VARARGS */ -int +void fptreef(struct shf *shf, int indent, const char *fmt, ...) { va_list va; va_start(va, fmt); - vfptreef(shf, indent, fmt, va); va_end(va); - return 0; } /* VARARGS */ |