diff options
author | drh <> | 2025-01-30 16:07:51 +0000 |
---|---|---|
committer | drh <> | 2025-01-30 16:07:51 +0000 |
commit | 8bffd498eaac9f208f925d771fdfadd3be1e41d1 (patch) | |
tree | d6db7457d520d20c4f1e254977eb7dd8919ad4be /src/tclsqlite.c | |
parent | 000e39e9a891e2559c8194c2d2f0a30d99782f70 (diff) | |
download | sqlite-8bffd498eaac9f208f925d771fdfadd3be1e41d1.tar.gz sqlite-8bffd498eaac9f208f925d771fdfadd3be1e41d1.zip |
Remove an unused parameter from an internal-use subroutine in the TCL interface.
FossilOrigin-Name: a700692b39e24f5ca9ea6f879d413e20c2ad2b85f62c867407dafe111f13d931
Diffstat (limited to 'src/tclsqlite.c')
-rw-r--r-- | src/tclsqlite.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tclsqlite.c b/src/tclsqlite.c index 2f12f7f67..824e8c4d3 100644 --- a/src/tclsqlite.c +++ b/src/tclsqlite.c @@ -510,7 +510,7 @@ static int createIncrblobChannel( ** or {...} or ; to be seen anywhere. Most callback scripts consist ** of just a single procedure name and they meet this requirement. */ -static int safeToUseEvalObjv(Tcl_Interp *interp, Tcl_Obj *pCmd){ +static int safeToUseEvalObjv(Tcl_Obj *pCmd){ /* We could try to do something with Tcl_Parse(). But we will instead ** just do a search for forbidden characters. If any of the forbidden ** characters appear in pCmd, we will report the string as unsafe. @@ -2993,7 +2993,7 @@ deserialize_error: } pFunc->pScript = pScript; Tcl_IncrRefCount(pScript); - pFunc->useEvalObjv = safeToUseEvalObjv(interp, pScript); + pFunc->useEvalObjv = safeToUseEvalObjv(pScript); pFunc->eType = eType; rc = sqlite3_create_function(pDb->db, zName, nArg, flags, pFunc, tclSqlFunc, 0, 0); |