diff options
| author | donal.k.fellows@manchester.ac.uk <dkf> | 2003-04-07 13:52:41 (GMT) |
|---|---|---|
| committer | donal.k.fellows@manchester.ac.uk <dkf> | 2003-04-07 13:52:41 (GMT) |
| commit | c537dd5352ea15128d59f096c9a8f86dd1789047 (patch) | |
| tree | a37b39a592837f0ba6fdf0f876a0f6efd2230c7f | |
| parent | 26f98c34bcd1688d7642ef42e22703e122c87cc9 (diff) | |
| download | tcl-c537dd5352ea15128d59f096c9a8f86dd1789047.zip tcl-c537dd5352ea15128d59f096c9a8f86dd1789047.tar.gz tcl-c537dd5352ea15128d59f096c9a8f86dd1789047.tar.bz2 | |
Yet more warning killing, this time reported by Miguel Sofer by private chat.
| -rw-r--r-- | ChangeLog | 2 | ||||
| -rw-r--r-- | generic/tclDictObj.c | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -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); |
