From f98b2e353536358f9a36a52cb3a593b6958b9666 Mon Sep 17 00:00:00 2001 From: vincentdarley Date: Thu, 9 Jan 2003 10:01:51 +0000 Subject: remove unused variable --- ChangeLog | 5 +++++ generic/tclFileName.c | 5 +---- tools/encoding/cp437.txt | 1 - tools/encoding/cp737.txt | 1 - tools/encoding/cp775.txt | 1 - tools/encoding/cp850.txt | 1 - tools/encoding/cp852.txt | 1 - tools/encoding/cp855.txt | 1 - tools/encoding/cp857.txt | 1 - tools/encoding/cp860.txt | 1 - tools/encoding/cp861.txt | 1 - tools/encoding/cp862.txt | 1 - tools/encoding/cp863.txt | 1 - tools/encoding/cp864.txt | 1 - tools/encoding/cp865.txt | 1 - tools/encoding/cp866.txt | 1 - tools/encoding/cp869.txt | 1 - 17 files changed, 6 insertions(+), 19 deletions(-) diff --git a/ChangeLog b/ChangeLog index bd3f113..7eb4132 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-01-09 Vince Darley + + * generic/tclFileName.c: remove unused variable 'macSpecialCase' + [Bug 664749] + 2003-01-08 Don Porter * generic/tclExecute.c (TclExprFloatError): Use the IS_NAN macro diff --git a/generic/tclFileName.c b/generic/tclFileName.c index fc0dbcd..16bf9d0 100644 --- a/generic/tclFileName.c +++ b/generic/tclFileName.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclFileName.c,v 1.39 2002/11/13 22:11:40 vincentdarley Exp $ + * RCS: @(#) $Id: tclFileName.c,v 1.40 2003/01/09 10:01:59 vincentdarley Exp $ */ #include "tclInt.h" @@ -2597,15 +2597,12 @@ TclDoGlob(interp, separators, headPtr, tail, types) */ Tcl_Obj *nameObj; - /* Used to deal with one special case pertinent to MacOS */ - int macSpecialCase = 0; switch (tclPlatform) { case TCL_PLATFORM_MAC: { if (strchr(Tcl_DStringValue(headPtr), ':') == NULL) { Tcl_DStringAppend(headPtr, ":", 1); } - macSpecialCase = 1; break; } case TCL_PLATFORM_WINDOWS: { diff --git a/tools/encoding/cp437.txt b/tools/encoding/cp437.txt index 479076f..ae38e17 100644 --- a/tools/encoding/cp437.txt +++ b/tools/encoding/cp437.txt @@ -271,4 +271,3 @@ 0xfd 0x00b2 #SUPERSCRIPT TWO 0xfe 0x25a0 #BLACK SQUARE 0xff 0x00a0 #NO-BREAK SPACE - \ No newline at end of file diff --git a/tools/encoding/cp737.txt b/tools/encoding/cp737.txt index 68f3d37..0fc572f 100644 --- a/tools/encoding/cp737.txt +++ b/tools/encoding/cp737.txt @@ -271,4 +271,3 @@ 0xfd 0x00b2 #SUPERSCRIPT TWO 0xfe 0x25a0 #BLACK SQUARE 0xff 0x00a0 #NO-BREAK SPACE - \ No newline at end of file diff --git a/tools/encoding/cp775.txt b/tools/encoding/cp775.txt index 380cf28..1ad4e4e 100644 --- a/tools/encoding/cp775.txt +++ b/tools/encoding/cp775.txt @@ -272,4 +272,3 @@ 0xfe 0x25a0 #BLACK SQUARE 0xff 0x00a0 #NO-BREAK SPACE - \ No newline at end of file diff --git a/tools/encoding/cp850.txt b/tools/encoding/cp850.txt index 312e439..590b1af 100644 --- a/tools/encoding/cp850.txt +++ b/tools/encoding/cp850.txt @@ -271,4 +271,3 @@ 0xfd 0x00b2 #SUPERSCRIPT TWO 0xfe 0x25a0 #BLACK SQUARE 0xff 0x00a0 #NO-BREAK SPACE - \ No newline at end of file diff --git a/tools/encoding/cp852.txt b/tools/encoding/cp852.txt index bae9e7a..2f2daba 100644 --- a/tools/encoding/cp852.txt +++ b/tools/encoding/cp852.txt @@ -271,4 +271,3 @@ 0xfd 0x0159 #LATIN SMALL LETTER R WITH CARON 0xfe 0x25a0 #BLACK SQUARE 0xff 0x00a0 #NO-BREAK SPACE - \ No newline at end of file diff --git a/tools/encoding/cp855.txt b/tools/encoding/cp855.txt index af0168d..d43daf0 100644 --- a/tools/encoding/cp855.txt +++ b/tools/encoding/cp855.txt @@ -272,4 +272,3 @@ 0xfe 0x25a0 #BLACK SQUARE 0xff 0x00a0 #NO-BREAK SPACE - \ No newline at end of file diff --git a/tools/encoding/cp857.txt b/tools/encoding/cp857.txt index 7dde69f..3059383 100644 --- a/tools/encoding/cp857.txt +++ b/tools/encoding/cp857.txt @@ -272,4 +272,3 @@ 0xfe 0x25a0 #BLACK SQUARE 0xff 0x00a0 #NO-BREAK SPACE - \ No newline at end of file diff --git a/tools/encoding/cp860.txt b/tools/encoding/cp860.txt index ce36f21..d7f2cb7 100644 --- a/tools/encoding/cp860.txt +++ b/tools/encoding/cp860.txt @@ -272,4 +272,3 @@ 0xfe 0x25a0 #BLACK SQUARE 0xff 0x00a0 #NO-BREAK SPACE - \ No newline at end of file diff --git a/tools/encoding/cp861.txt b/tools/encoding/cp861.txt index 5a50e4e..fe0f02b 100644 --- a/tools/encoding/cp861.txt +++ b/tools/encoding/cp861.txt @@ -272,4 +272,3 @@ 0xfe 0x25a0 #BLACK SQUARE 0xff 0x00a0 #NO-BREAK SPACE - \ No newline at end of file diff --git a/tools/encoding/cp862.txt b/tools/encoding/cp862.txt index 5a4f019..9631105 100644 --- a/tools/encoding/cp862.txt +++ b/tools/encoding/cp862.txt @@ -272,4 +272,3 @@ 0xfe 0x25a0 #BLACK SQUARE 0xff 0x00a0 #NO-BREAK SPACE - \ No newline at end of file diff --git a/tools/encoding/cp863.txt b/tools/encoding/cp863.txt index 115afbd..cc4eae1 100644 --- a/tools/encoding/cp863.txt +++ b/tools/encoding/cp863.txt @@ -272,4 +272,3 @@ 0xfe 0x25a0 #BLACK SQUARE 0xff 0x00a0 #NO-BREAK SPACE - \ No newline at end of file diff --git a/tools/encoding/cp864.txt b/tools/encoding/cp864.txt index 4cf3394..7aa055f 100644 --- a/tools/encoding/cp864.txt +++ b/tools/encoding/cp864.txt @@ -272,4 +272,3 @@ 0xfe 0x25a0 #BLACK SQUARE 0xff #UNDEFINED - \ No newline at end of file diff --git a/tools/encoding/cp865.txt b/tools/encoding/cp865.txt index 38f5ce0..67705f4 100644 --- a/tools/encoding/cp865.txt +++ b/tools/encoding/cp865.txt @@ -272,4 +272,3 @@ 0xfe 0x25a0 #BLACK SQUARE 0xff 0x00a0 #NO-BREAK SPACE - \ No newline at end of file diff --git a/tools/encoding/cp866.txt b/tools/encoding/cp866.txt index 25b831a..880fb70 100644 --- a/tools/encoding/cp866.txt +++ b/tools/encoding/cp866.txt @@ -272,4 +272,3 @@ 0xfe 0x25a0 #BLACK SQUARE 0xff 0x00a0 #NO-BREAK SPACE - \ No newline at end of file diff --git a/tools/encoding/cp869.txt b/tools/encoding/cp869.txt index 691ef97..4c77ffd 100644 --- a/tools/encoding/cp869.txt +++ b/tools/encoding/cp869.txt @@ -272,4 +272,3 @@ 0xfe 0x25a0 #BLACK SQUARE 0xff 0x00a0 #NO-BREAK SPACE - \ No newline at end of file -- cgit v0.12