Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit e5e2429

Browse files
committed
[[ Cleanup ]] revdb: computehash(): Remove unused function.
1 parent 3be604b commit e5e2429

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

revdb/src/revdb.cpp

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -138,18 +138,6 @@ const char *dbtypestrings[] = {
138138
DATABASERECList databaselist;
139139
DBList connectionlist;
140140

141-
static int computehash(char *keystr)
142-
{
143-
unsigned int value = 0;
144-
int length = strlen(keystr);
145-
const char *sptr = keystr;
146-
while (length--){
147-
value += tolower(*sptr++);
148-
value = value * 3;
149-
}
150-
return value & 96000 -1;
151-
}
152-
153141
#define simpleparse(a,b,c) (((b > a) | (c < a))?True:False)
154142

155143
static char * _strrev(char * str)

0 commit comments

Comments
 (0)