summaryrefslogtreecommitdiffstats
path: root/generic/tclCompCmdsSZ.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-06-19 09:34:46 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-06-19 09:34:46 (GMT)
commit1c6ca85d98db29234ab4e205233efcf423d995c9 (patch)
treedfba781eee36df7e065c5ceab9c7e3eea446a94a /generic/tclCompCmdsSZ.c
parent298726d3b8bf7a8ce60ae59ff0f3196f68931773 (diff)
downloadtcl-1c6ca85d98db29234ab4e205233efcf423d995c9.zip
tcl-1c6ca85d98db29234ab4e205233efcf423d995c9.tar.gz
tcl-1c6ca85d98db29234ab4e205233efcf423d995c9.tar.bz2
Make tclStringClassTable a little bit smaller, and save a pointer access when accessing the name of an entry.
Diffstat (limited to 'generic/tclCompCmdsSZ.c')
-rw-r--r--generic/tclCompCmdsSZ.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclCompCmdsSZ.c b/generic/tclCompCmdsSZ.c
index c8002a7..81c01e0 100644
--- a/generic/tclCompCmdsSZ.c
+++ b/generic/tclCompCmdsSZ.c
@@ -1415,7 +1415,7 @@ StringClassDesc const tclStringClassTable[] = {
{"upper", Tcl_UniCharIsUpper},
{"word", Tcl_UniCharIsWordChar},
{"xdigit", UniCharIsHexDigit},
- {NULL, NULL}
+ {"", NULL}
};
/*