summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--generic/tclDictObj.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 4899c73..f7fe127 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,8 @@
* generic/tclDictObj.c (Tcl_DictObjCmd): Stopped compilers from
moaning about switch fall-through. [Bug 716327]
+ (DictFilterCmd): Yet more warning killing, this time reported by
+ Miguel Sofer by private chat.
2003-04-07 Donal K. Fellows <fellowsd@cs.man.ac.uk>
diff --git a/generic/tclDictObj.c b/generic/tclDictObj.c
index 3c59ea7..ee5d7fa 100644
--- a/generic/tclDictObj.c
+++ b/generic/tclDictObj.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclDictObj.c,v 1.5 2003/04/07 12:39:08 dkf Exp $
+ * RCS: @(#) $Id: tclDictObj.c,v 1.6 2003/04/07 13:52:52 dkf Exp $
*/
#include "tclInt.h"
@@ -2450,6 +2450,7 @@ DictFilterCmd(interp, objc, objv)
}
panic("unexpected fallthrough");
/* Control never reaches this point. */
+ return TCL_ERROR;
abnormalResult:
Tcl_DictObjDone(&search);