summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libexec/ld.so/library_mquery.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libexec/ld.so/library_mquery.c b/libexec/ld.so/library_mquery.c
index e6814a001f1..91dd295d43f 100644
--- a/libexec/ld.so/library_mquery.c
+++ b/libexec/ld.so/library_mquery.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: library_mquery.c,v 1.21 2005/05/30 23:31:16 drahn Exp $ */
+/* $OpenBSD: library_mquery.c,v 1.22 2005/05/31 14:31:36 drahn Exp $ */
/*
* Copyright (c) 2002 Dale Rahn
@@ -62,8 +62,6 @@ _dl_load_list_free(struct load_list *load_list)
void
_dl_unload_shlib(elf_object_t *object)
{
- struct dep_node *n;
-
if (object->refcount == 0) {
_dl_load_list_free(object->load_list);
_dl_remove_object(object);