From 027bfe90bd8514277694ee60ffd59a6b0db0a6f9 Mon Sep 17 00:00:00 2001 From: andreas_kupries Date: Wed, 5 Oct 2005 17:44:58 +0000 Subject: * generic/tclIORChan.c (RcClose): Removed unreachable panic/return statements. This fixes the remainder of [SF Tcl Bug 1286256]. --- ChangeLog | 5 +++++ generic/tclIORChan.c | 5 +---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 866e14d..ddfdf80 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-10-05 Andreas Kupries + + * generic/tclIORChan.c (RcClose): Removed unreachable panic/return + statements. This fixes the remainder of [SF Tcl Bug 1286256]. + 2005-10-05 Jeff Hobbs * tests/env.test (env-6.1): diff --git a/generic/tclIORChan.c b/generic/tclIORChan.c index 0a57eb3..a3012c0 100644 --- a/generic/tclIORChan.c +++ b/generic/tclIORChan.c @@ -15,7 +15,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclIORChan.c,v 1.5 2005/09/15 16:40:02 dgp Exp $ + * RCS: @(#) $Id: tclIORChan.c,v 1.6 2005/10/05 17:44:58 andreas_kupries Exp $ */ #include @@ -1048,9 +1048,6 @@ RcClose (clientData, interp) #endif return (res == TCL_OK) ? EOK : EINVAL; } - - Tcl_Panic ("Should not be reached"); - return EINVAL; } /* -- cgit v0.12