aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/makewhatis.c
diff options
context:
space:
mode:
Diffstat (limited to 'makewhatis.c')
-rw-r--r--makewhatis.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/makewhatis.c b/makewhatis.c
index 122f5f8f..3161ba19 100644
--- a/makewhatis.c
+++ b/makewhatis.c
@@ -1,4 +1,4 @@
-/* $Id: makewhatis.c,v 1.8 2011/06/22 09:00:14 kristaps Exp $ */
+/* $Id: makewhatis.c,v 1.9 2011/06/22 09:10:36 kristaps Exp $ */
/*
* Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -241,7 +241,7 @@ main(int argc, char *argv[])
*db, /* keyword database */
*hash; /* temporary keyword hashtable */
DBT key, val;
- size_t sv, rsz;
+ size_t sv;
BTREEINFO info; /* btree configuration */
recno_t rec; /* current record number */
struct buf buf, /* keyword buffer */
@@ -335,7 +335,7 @@ main(int argc, char *argv[])
mp = mparse_alloc(MPARSE_AUTO, MANDOCLEVEL_FATAL, NULL, NULL);
rec = 1;
- rsz = 0;
+ hash = NULL;
memset(&buf, 0, sizeof(struct buf));
memset(&dbuf, 0, sizeof(struct buf));