From: Jonathan McDowell Date: Sat, 3 Aug 2019 08:09:41 +0000 (+0100) Subject: Remove unused worddb_cmp() from DB4 backend X-Git-Tag: onak-0.6.0~42 X-Git-Url: https://the.earth.li/gitweb/?p=onak.git;a=commitdiff_plain;h=42977c5361ef21c99bc157e9c7edbba49243014f Remove unused worddb_cmp() from DB4 backend This function was no longer used, so remove it. --- diff --git a/keydb_db4.c b/keydb_db4.c index e63ac07..5e16a40 100644 --- a/keydb_db4.c +++ b/keydb_db4.c @@ -472,12 +472,6 @@ static int db4_fetch_key_id(struct onak_dbctx *dbctx, uint64_t keyid, return (numkeys); } - -int worddb_cmp(const void *d1, const void *d2) -{ - return memcmp(d1, d2, 12); -} - /** * fetch_key_text - Trys to find the keys that contain the supplied text. * @search: The text to search for.