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

Commit f40b3d6

Browse files
committed
[[ Cleanup ]] revdb: Remove some unused variables.
1 parent cbe131e commit f40b3d6

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

revdb/src/revdb.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -183,9 +183,6 @@ static char *strlwr(char *str)
183183
void REVDB_Init(char *args[], int nargs, char **retstring,
184184
Bool *pass, Bool *error)
185185
{
186-
static Bool littlecheat = False;
187-
int passkey = 0;
188-
189186
*error = False;
190187
*pass = False;
191188

@@ -359,7 +356,6 @@ void REVDB_QUIT()
359356
break;
360357
}
361358
connlist->clear();
362-
DATABASEREC *databaserec = NULL;
363359
DATABASERECList::iterator theIterator2;
364360
for (theIterator2 = databaselist.begin(); theIterator2 != databaselist.end(); theIterator2++){
365361
DATABASEREC *tdatabaserec = (DATABASEREC *)(*theIterator2);
@@ -1024,8 +1020,6 @@ void REVDB_ConnectionErr(char *args[], int nargs, char **retstring, Bool *pass,
10241020
/// Otherwise the number of affected rows is returned. This will be 0 for any query that is not SELECT, INSERT, UPDATE or DELETE.
10251021
void REVDB_Execute(char *p_arguments[], int p_argument_count, char **p_return_string, Bool *p_pass, Bool *p_error)
10261022
{
1027-
char *result = NULL;
1028-
10291023
*p_error = True;
10301024
*p_pass = False;
10311025

0 commit comments

Comments
 (0)