diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2006-01-15 19:12:00 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2006-01-15 19:12:00 +0000 |
commit | 011a44c19e590a3fba2cadbccfc0c067c6d82339 (patch) | |
tree | a7a03872c6a1083fe3054179c343915d0da884e7 /usr.bin/dc/stack.c | |
parent | 706ffea399bee5559214bff24c14ea6c195b5d38 (diff) |
delint wrt return values, including some missing BN return
values checks.
Diffstat (limited to 'usr.bin/dc/stack.c')
-rw-r--r-- | usr.bin/dc/stack.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/dc/stack.c b/usr.bin/dc/stack.c index eecb035b9db..9ab98f9a799 100644 --- a/usr.bin/dc/stack.c +++ b/usr.bin/dc/stack.c @@ -1,4 +1,4 @@ -/* $OpenBSD: stack.c,v 1.7 2005/03/28 17:39:20 deraadt Exp $ */ +/* $OpenBSD: stack.c,v 1.8 2006/01/15 19:11:59 otto Exp $ */ /* * Copyright (c) 2003, Otto Moerbeek <otto@drijf.net> @@ -17,7 +17,7 @@ */ #ifndef lint -static const char rcsid[] = "$OpenBSD: stack.c,v 1.7 2005/03/28 17:39:20 deraadt Exp $"; +static const char rcsid[] = "$OpenBSD: stack.c,v 1.8 2006/01/15 19:11:59 otto Exp $"; #endif /* not lint */ #include <err.h> @@ -258,7 +258,7 @@ stack_print(FILE *f, const struct stack *stack, const char *prefix, u_int base) for (i = stack->sp; i >= 0; i--) { print_value(f, &stack->stack[i], prefix, base); - putc('\n', f); + (void)putc('\n', f); } } @@ -298,7 +298,7 @@ array_dup(const struct array *a) n = array_new(); array_grow(n, a->size); for (i = 0; i < a->size; i++) - stack_dup_value(&a->data[i], &n->data[i]); + (void)stack_dup_value(&a->data[i], &n->data[i]); return n; } |