summaryrefslogtreecommitdiffstats
path: root/generic/tclUtil.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-01-06 18:48:35 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-01-06 18:48:35 (GMT)
commit4f9704bc3546557fd6bcd3054443f1fdf61ad5f8 (patch)
tree15d685cfcc2644b02a3d4cd1b1a466a19c60c871 /generic/tclUtil.c
parent4d465feb6718d732b60c69b88feaf350c5947dd6 (diff)
parent02f1d35bc6192c9472d75082b86bc2f052058ddd (diff)
downloadtcl-4f9704bc3546557fd6bcd3054443f1fdf61ad5f8.zip
tcl-4f9704bc3546557fd6bcd3054443f1fdf61ad5f8.tar.gz
tcl-4f9704bc3546557fd6bcd3054443f1fdf61ad5f8.tar.bz2
Merge 8.7
Diffstat (limited to 'generic/tclUtil.c')
-rw-r--r--generic/tclUtil.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/generic/tclUtil.c b/generic/tclUtil.c
index 6f0aa34..05b0599 100644
--- a/generic/tclUtil.c
+++ b/generic/tclUtil.c
@@ -3963,36 +3963,6 @@ TclIndexDecode(
/*
*------------------------------------------------------------------------
*
- * TclIndexInvalidError --
- *
- * Generates an error message including the invalid index.
- *
- * Results:
- * Always return TCL_ERROR.
- *
- * Side effects:
- * If interp is not-NULL, an error message is stored in it.
- *
- *------------------------------------------------------------------------
- */
-int
-TclIndexInvalidError (
- Tcl_Interp *interp, /* May be NULL */
- const char *idxType, /* The descriptive string for idx. Defaults to "index" */
- Tcl_Size idx) /* Invalid index value */
-{
- if (interp) {
- Tcl_SetObjResult(interp,
- Tcl_ObjPrintf("Invalid %s value %" TCL_SIZE_MODIFIER "d.",
- idxType ? idxType : "index",
- idx));
- }
- return TCL_ERROR; /* Always */
-}
-
-/*
- *------------------------------------------------------------------------
- *
* TclCommandWordLimitErrpr --
*
* Generates an error message limit on number of command words exceeded.