* mdocml: Make sure hash is initialised to NULL and remove an unused
@ 2011-06-22 9:10 kristaps
0 siblings, 0 replies; only message in thread
From: kristaps @ 2011-06-22 9:10 UTC (permalink / raw)
To: source
Log Message:
-----------
Make sure hash is initialised to NULL and remove an unused variable.
Modified Files:
--------------
mdocml:
makewhatis.c
Revision Data
-------------
Index: makewhatis.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/makewhatis.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -Lmakewhatis.c -Lmakewhatis.c -u -p -r1.8 -r1.9
--- makewhatis.c
+++ makewhatis.c
@@ -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));
--
To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-06-22 9:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-22 9:10 mdocml: Make sure hash is initialised to NULL and remove an unused kristaps
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).