1
0
Fork 0
mirror of https://github.com/DBD-SQLite/DBD-SQLite synced 2025-06-07 06:08:38 -04:00

Eliminate unused (but returned) variable

This commit is contained in:
Max Maischein 2020-09-20 20:01:51 +02:00
parent 12d982ffec
commit 740ba861f9

View file

@ -417,8 +417,6 @@ static int perl_fts5_tokenizer_Tokenize(
)
){
perl_Fts5Tokenizer *c = (perl_Fts5Tokenizer *) tokenizer;
int result;
int n_retval;
char *token;
char *byteOffset;
dTHX;
@ -508,14 +506,16 @@ static int perl_fts5_tokenizer_Tokenize(
// result = SQLITE_OK;
//
PUTBACK;
n_retval = call_sv(c->coderef, G_ARRAY);
call_sv(c->coderef, G_VOID);
printf("Returned from tokenization CB, returning to SQLite\n");
SPAGAIN;
PUTBACK;
FREETMPS;
LEAVE;
return result;
return SQLITE_OK;
}
int perl_fts5_xToken(pTHX_