diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-07-17 15:38:17 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-07-17 15:38:17 (GMT) |
| commit | 20bd9d9cabc9db212abbaf9d4dbb18eb490e9f71 (patch) | |
| tree | 145f048872ec19521a9251dbced311d3a61d2ce6 /unix/tclUnixInit.c | |
| parent | 738eb47e4edaaf2d67f93a159f124a5306dea171 (diff) | |
| download | tcl-20bd9d9cabc9db212abbaf9d4dbb18eb490e9f71.zip tcl-20bd9d9cabc9db212abbaf9d4dbb18eb490e9f71.tar.gz tcl-20bd9d9cabc9db212abbaf9d4dbb18eb490e9f71.tar.bz2 | |
Eliminate "register" keyword _everywhere_ in Tcl. This keyword is deprecated in C++ (removed in C++17, even), and essentially does nothing with most modern compilers.
Diffstat (limited to 'unix/tclUnixInit.c')
| -rw-r--r-- | unix/tclUnixInit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tclUnixInit.c b/unix/tclUnixInit.c index 90b5384..004fbff 100644 --- a/unix/tclUnixInit.c +++ b/unix/tclUnixInit.c @@ -1001,7 +1001,7 @@ TclpFindVariable( * searches). */ { int i, result = -1; - register const char *env, *p1, *p2; + const char *env, *p1, *p2; Tcl_DString envString; Tcl_DStringInit(&envString); |
