summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2004-01-22 18:49:35 +0000
committermillert <millert@openbsd.org>2004-01-22 18:49:35 +0000
commit68d2b5e60efd3ffadeeee9097fc701ae3a8b9d82 (patch)
tree8fecf01b69a87ccd8e37d1fe2cab9dc5f0e588fd
parentdot_conv() is not used. (diff)
downloadwireguard-openbsd-68d2b5e60efd3ffadeeee9097fc701ae3a8b9d82.tar.xz
wireguard-openbsd-68d2b5e60efd3ffadeeee9097fc701ae3a8b9d82.zip
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;