summaryrefslogtreecommitdiff
path: root/usr.bin/mg/help.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-10-14 15:41:34 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-10-14 15:41:34 +0000
commite1fbce586f78a1c761ee1895e8d7d5275dea2bf9 (patch)
treeddeae6728d30c44b4ab1e75cf96f661a5d11c6c1 /usr.bin/mg/help.c
parent7819466fd239a582d7dc565f314121ed0ddcd33b (diff)
unused variables
Diffstat (limited to 'usr.bin/mg/help.c')
-rw-r--r--usr.bin/mg/help.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.bin/mg/help.c b/usr.bin/mg/help.c
index d94ce06c7b6..ca793febe72 100644
--- a/usr.bin/mg/help.c
+++ b/usr.bin/mg/help.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: help.c,v 1.25 2005/08/09 00:53:48 kjell Exp $ */
+/* $OpenBSD: help.c,v 1.26 2005/10/14 15:41:33 deraadt Exp $ */
/* This file is in the public domain. */
@@ -179,10 +179,9 @@ apropos_command(int f, int n)
{
BUFFER *bp;
LIST *fnames, *el;
- char string[32], *bufp;
+ char string[32];
- if ((bufp = eread("apropos: ", string, sizeof(string),
- EFNUL | EFNEW)) == NULL)
+ if (eread("apropos: ", string, sizeof(string), EFNUL | EFNEW) == NULL)
return (ABORT);
/* FALSE means we got a 0 character string, which is fine */
bp = bfind("*help*", TRUE);