summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandreas_kupries <akupries@shaw.ca>2005-10-05 17:44:58 (GMT)
committerandreas_kupries <akupries@shaw.ca>2005-10-05 17:44:58 (GMT)
commit027bfe90bd8514277694ee60ffd59a6b0db0a6f9 (patch)
tree2502e2775ad729ffc2f5ff6b95059104ec450b4e
parent44e8c0a01c0a4104585a07493094db8366e7ccc8 (diff)
downloadtcl-027bfe90bd8514277694ee60ffd59a6b0db0a6f9.zip
tcl-027bfe90bd8514277694ee60ffd59a6b0db0a6f9.tar.gz
tcl-027bfe90bd8514277694ee60ffd59a6b0db0a6f9.tar.bz2
* generic/tclIORChan.c (RcClose): Removed unreachable panic/return
statements. This fixes the remainder of [SF Tcl Bug 1286256].
-rw-r--r--ChangeLog5
-rw-r--r--generic/tclIORChan.c5
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 <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;
}
/*