summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2004-01-22 18:49:36 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2004-01-22 18:49:36 +0000
commit129a86578c81e48e7fe834595035ffab321b6306 (patch)
treed7cfe7f88fbbcde962ad3e9ec7460143aaff0b6b
parentb47066104ff0011b69898e816b837558c15dda1f (diff)
Remove 3 unused variables.
-rw-r--r--usr.bin/compress/nullopen.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/usr.bin/compress/nullopen.c b/usr.bin/compress/nullopen.c
index b758310d33e..fceaed559d9 100644
--- a/usr.bin/compress/nullopen.c
+++ b/usr.bin/compress/nullopen.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nullopen.c,v 1.1 2003/09/05 06:08:15 deraadt Exp $ */
+/* $OpenBSD: nullopen.c,v 1.2 2004/01/22 18:49:35 millert Exp $ */
/*
* Copyright (c) 2003 Can Erkin Acar
@@ -29,7 +29,7 @@
*/
const char null_rcsid[] =
- "$OpenBSD: nullopen.c,v 1.1 2003/09/05 06:08:15 deraadt Exp $";
+ "$OpenBSD: nullopen.c,v 1.2 2004/01/22 18:49:35 millert Exp $";
#include <sys/types.h>
#include <stdio.h>
@@ -103,9 +103,6 @@ int
null_flush(void *cookie, int flush)
{
null_stream *s = (null_stream*)cookie;
- size_t len;
- int done = 0;
- int err;
if (s == NULL || s->mode != 'w') {
errno = EBADF;