diff options
author | nijtmans <nijtmans@noemail.net> | 2008-10-16 22:34:18 (GMT) |
---|---|---|
committer | nijtmans <nijtmans@noemail.net> | 2008-10-16 22:34:18 (GMT) |
commit | fd1af20283d2bed67e18d4990e3c690ee7740702 (patch) | |
tree | c92c0492d1db21f9b0c7f880eec5c0cd3ce36762 /generic/tclResult.c | |
parent | 1e2a3ab0abe30f27bec29e326dadc97ee7856269 (diff) | |
download | tcl-fd1af20283d2bed67e18d4990e3c690ee7740702.zip tcl-fd1af20283d2bed67e18d4990e3c690ee7740702.tar.gz tcl-fd1af20283d2bed67e18d4990e3c690ee7740702.tar.bz2 |
Add "const" to many internal
const tables. No functional
or API change.
FossilOrigin-Name: f03d2e2d83be42035c4aad3b01bbd09f5a967c1b
Diffstat (limited to 'generic/tclResult.c')
-rw-r--r-- | generic/tclResult.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclResult.c b/generic/tclResult.c index b91d6ef..b0a8836 100644 --- a/generic/tclResult.c +++ b/generic/tclResult.c @@ -8,7 +8,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclResult.c,v 1.49 2008/10/02 20:59:45 dgp Exp $ + * RCS: @(#) $Id: tclResult.c,v 1.50 2008/10/16 22:34:19 nijtmans Exp $ */ #include "tclInt.h" @@ -1336,7 +1336,7 @@ TclMergeReturnOptions( Tcl_DictObjGet(NULL, returnOpts, keys[KEY_CODE], &valuePtr); if ((valuePtr != NULL) && (TCL_ERROR == TclGetIntFromObj(NULL, valuePtr, &code))) { - static const char *returnCodes[] = { + static const char *const returnCodes[] = { "ok", "error", "return", "break", "continue", NULL }; |