summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
authorCharles Longeau <chl@cvs.openbsd.org>2015-12-27 01:26:48 +0000
committerCharles Longeau <chl@cvs.openbsd.org>2015-12-27 01:26:48 +0000
commita2ecdc7e900213827d4fa7b574f6f3aa96ebcf46 (patch)
tree6a0e5d8f7a02aa75344dbb8ff7dbea0fd150d8f1 /lib/libc/stdlib
parent6505918e4be8d15401cc16f27e876e1a0d14ffde (diff)
remove unused variable
ok tedu@
Diffstat (limited to 'lib/libc/stdlib')
-rw-r--r--lib/libc/stdlib/icdb.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/stdlib/icdb.c b/lib/libc/stdlib/icdb.c
index e33a043795f..7a6f3df1bbf 100644
--- a/lib/libc/stdlib/icdb.c
+++ b/lib/libc/stdlib/icdb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: icdb.c,v 1.4 2015/12/10 18:06:06 tedu Exp $ */
+/* $OpenBSD: icdb.c,v 1.5 2015/12/27 01:26:47 chl Exp $ */
/*
* Copyright (c) 2015 Ted Unangst <tedu@openbsd.org>
*
@@ -214,7 +214,6 @@ int
icdb_lookup(struct icdb *db, int keynum, const void *key, void *entry, uint32_t *idxp)
{
struct icdbinfo *info = db->info;
- uint32_t entrysize = info->entrysize;
uint32_t offset;
uint64_t hash;
uint32_t indexsize, idxmask, idxlen;