mirror of
https://github.com/DBD-SQLite/DBD-SQLite
synced 2025-06-07 22:28:47 -04:00
Eliminate unused (but returned) variable
This commit is contained in:
parent
12d982ffec
commit
740ba861f9
1 changed files with 4 additions and 4 deletions
|
@ -417,8 +417,6 @@ static int perl_fts5_tokenizer_Tokenize(
|
||||||
)
|
)
|
||||||
){
|
){
|
||||||
perl_Fts5Tokenizer *c = (perl_Fts5Tokenizer *) tokenizer;
|
perl_Fts5Tokenizer *c = (perl_Fts5Tokenizer *) tokenizer;
|
||||||
int result;
|
|
||||||
int n_retval;
|
|
||||||
char *token;
|
char *token;
|
||||||
char *byteOffset;
|
char *byteOffset;
|
||||||
dTHX;
|
dTHX;
|
||||||
|
@ -508,14 +506,16 @@ static int perl_fts5_tokenizer_Tokenize(
|
||||||
// result = SQLITE_OK;
|
// result = SQLITE_OK;
|
||||||
//
|
//
|
||||||
PUTBACK;
|
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;
|
SPAGAIN;
|
||||||
|
|
||||||
PUTBACK;
|
PUTBACK;
|
||||||
FREETMPS;
|
FREETMPS;
|
||||||
LEAVE;
|
LEAVE;
|
||||||
|
|
||||||
return result;
|
return SQLITE_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
int perl_fts5_xToken(pTHX_
|
int perl_fts5_xToken(pTHX_
|
||||||
|
|
Loading…
Add table
Reference in a new issue