diff --git a/Doxyfile b/Doxyfile index f776ee8..2442148 100644 --- a/Doxyfile +++ b/Doxyfile @@ -1530,7 +1530,7 @@ EXTRA_SEARCH_MAPPINGS = # If the GENERATE_LATEX tag is set to YES doxygen will generate LaTeX output. # The default value is: YES. -GENERATE_LATEX = YES +GENERATE_LATEX = NO # The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. If a # relative path is entered the value of OUTPUT_DIRECTORY will be put in front of diff --git a/Makefile b/Makefile index 15d9276..d085991 100644 --- a/Makefile +++ b/Makefile @@ -66,3 +66,7 @@ install: cp -v libhl.$(SHAREDEXT) $(LIBDIR)/;\ echo "Installing headers in $(INCDIR)"; \ cp -v src/*.h $(INCDIR)/; + +.PHONY: docs +docs: + @doxygen libhl.doxycfg diff --git a/src/hashtable.c b/src/hashtable.c index c4f3cfa..acb4d14 100644 --- a/src/hashtable.c +++ b/src/hashtable.c @@ -497,8 +497,6 @@ int ht_exists(hashtable_t *table, void *key, size_t klen) SPIN_LOCK(&list->lock); - void *data = NULL; - ht_item_t *item = NULL; TAILQ_FOREACH(item, &list->head, next) { if (/*ht_item->hash == arg->item.hash && */