diff options
| author | andreask@activestate.com <andreas_kupries> | 2005-10-05 17:44:58 (GMT) |
|---|---|---|
| committer | andreask@activestate.com <andreas_kupries> | 2005-10-05 17:44:58 (GMT) |
| commit | 6cf2932c4224b59f6f866ff576ea079f2b34aaba (patch) | |
| tree | 2502e2775ad729ffc2f5ff6b95059104ec450b4e | |
| parent | 02ede744e3373d5ca88859b0ab7ab07e9f04d8d3 (diff) | |
| download | tcl-6cf2932c4224b59f6f866ff576ea079f2b34aaba.zip tcl-6cf2932c4224b59f6f866ff576ea079f2b34aaba.tar.gz tcl-6cf2932c4224b59f6f866ff576ea079f2b34aaba.tar.bz2 | |
* generic/tclIORChan.c (RcClose): Removed unreachable panic/return
statements. This fixes the remainder of [SF Tcl Bug 1286256].
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | generic/tclIORChan.c | 5 |
2 files changed, 6 insertions, 4 deletions
@@ -1,3 +1,8 @@ +2005-10-05 Andreas Kupries <andreask@activestate.com> + + * generic/tclIORChan.c (RcClose): Removed unreachable panic/return + statements. This fixes the remainder of [SF Tcl Bug 1286256]. + 2005-10-05 Jeff Hobbs <jeffh@ActiveState.com> * 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 <tclInt.h> @@ -1048,9 +1048,6 @@ RcClose (clientData, interp) #endif return (res == TCL_OK) ? EOK : EINVAL; } - - Tcl_Panic ("Should not be reached"); - return EINVAL; } /* |
