Skip to content

Commit

Permalink
removed unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
xant committed Jan 6, 2014
1 parent 5b3f6a8 commit 2348d0e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions src/hashtable.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 && */
Expand Down

0 comments on commit 2348d0e

Please sign in to comment.