diff options
author | nijtmans <nijtmans> | 2009-07-22 19:54:49 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2009-07-22 19:54:49 (GMT) |
commit | 432b10e730341c0769705ac13e8b21ceb665d1b5 (patch) | |
tree | 949e2f867e692c026d054423abe4d4180e37cf74 /generic/tclPanic.c | |
parent | 223b313a0cf97cf513b18df35a99f4c58cee7b39 (diff) | |
download | tcl-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.c | 12 |
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); |