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

Commit ce18e8d

Browse files
committed
[[ Cleanup ]] revdb: _strrev(): Remove unused function.
1 parent e5e2429 commit ce18e8d

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

revdb/src/revdb.cpp

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -140,24 +140,6 @@ DBList connectionlist;
140140

141141
#define simpleparse(a,b,c) (((b > a) | (c < a))?True:False)
142142

143-
static char * _strrev(char * str)
144-
{
145-
int SmallIndex = 0;
146-
int BigIndex = strlen(str) - 1;
147-
148-
while (SmallIndex < BigIndex) {
149-
char Temp = str[SmallIndex];
150-
151-
str[SmallIndex] = str[BigIndex];
152-
str[BigIndex] = Temp;
153-
154-
SmallIndex++;
155-
BigIndex--;
156-
}
157-
158-
return str;
159-
}
160-
161143
static char *strlwr(char *str)
162144
{
163145
while (*str)

0 commit comments

Comments
 (0)