summaryrefslogtreecommitdiffstats
path: root/generic/tclPanic.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2009-07-22 19:54:49 (GMT)
committernijtmans <nijtmans>2009-07-22 19:54:49 (GMT)
commit432b10e730341c0769705ac13e8b21ceb665d1b5 (patch)
tree949e2f867e692c026d054423abe4d4180e37cf74 /generic/tclPanic.c
parent223b313a0cf97cf513b18df35a99f4c58cee7b39 (diff)
downloadtcl-432b10e730341c0769705ac13e8b21ceb665d1b5.zip
tcl-432b10e730341c0769705ac13e8b21ceb665d1b5.tar.gz
tcl-432b10e730341c0769705ac13e8b21ceb665d1b5.tar.bz2
Feature Request 2814786: remove TclpPanic
Diffstat (limited to 'generic/tclPanic.c')
-rw-r--r--generic/tclPanic.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/generic/tclPanic.c b/generic/tclPanic.c
index e74df68..b3a5ed6 100644
--- a/generic/tclPanic.c
+++ b/generic/tclPanic.c
@@ -12,7 +12,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclPanic.c,v 1.13 2009/06/30 00:56:08 das Exp $
+ * RCS: @(#) $Id: tclPanic.c,v 1.14 2009/07/22 19:54:50 nijtmans Exp $
*/
#include "tclInt.h"
@@ -24,13 +24,6 @@
*/
static Tcl_PanicProc *panicProc = NULL;
-
-/*
- * The platformPanicProc variable contains a pointer to a platform specific
- * panic procedure, if any. (TclpPanic may be NULL via a macro.)
- */
-
-static Tcl_PanicProc *const platformPanicProc = TclpPanic;
/*
*----------------------------------------------------------------------
@@ -92,9 +85,6 @@ Tcl_PanicVA(
if (panicProc != NULL) {
panicProc(format, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
- } else if (platformPanicProc != NULL) {
- platformPanicProc(format, arg1, arg2, arg3, arg4, arg5, arg6, arg7,
- arg8);
} else {
fprintf(stderr, format, arg1, arg2, arg3, arg4, arg5, arg6, arg7,
arg8);