diff options
author | dgp <dgp@users.sourceforge.net> | 2003-07-16 15:29:09 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2003-07-16 15:29:09 (GMT) |
commit | a947e7228276a5effd3f3f179cd252a4934426ac (patch) | |
tree | 6b9e6c2acf66756eb8042658e8f73082ede0faea /generic | |
parent | 309ae192f3961bfe87bdbc4e1b43b2dc048148ba (diff) | |
download | tcl-a947e7228276a5effd3f3f179cd252a4934426ac.zip tcl-a947e7228276a5effd3f3f179cd252a4934426ac.tar.gz tcl-a947e7228276a5effd3f3f179cd252a4934426ac.tar.bz2 |
* generic/tclFileName.c (Tcl_GlobObjCmd): [Bug 771840]
* generic/tclPathObj.c (Tcl_FSConvertToPathType):[Bug 771947]
* unix/tclUnixFCmd.c (GetModeFromPermString): [Bug 771949]
Silence compiler warnings about unreached lines.
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tclFileName.c | 3 | ||||
-rw-r--r-- | generic/tclPathObj.c | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/generic/tclFileName.c b/generic/tclFileName.c index 84b92c7..ac28c03 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.41 2003/04/25 18:28:41 vincentdarley Exp $ + * RCS: @(#) $Id: tclFileName.c,v 1.42 2003/07/16 15:29:09 dgp Exp $ */ #include "tclInt.h" @@ -1680,7 +1680,6 @@ Tcl_GlobObjCmd(dummy, interp, objc, objv) case GLOB_LAST: /* -- */ i++; goto endOfForLoop; - break; } } endOfForLoop: diff --git a/generic/tclPathObj.c b/generic/tclPathObj.c index 62f5d27..6a6b147 100644 --- a/generic/tclPathObj.c +++ b/generic/tclPathObj.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: tclPathObj.c,v 1.3 2003/04/16 08:16:23 vincentdarley Exp $ + * RCS: @(#) $Id: tclPathObj.c,v 1.4 2003/07/16 15:29:09 dgp Exp $ */ #include "tclInt.h" @@ -528,6 +528,7 @@ Tcl_FSConvertToPathType(interp, objPtr) * This code is intentionally never reached. Once fs-optimisation * is complete, it will be removed/replaced */ +#if 0 if (fsPathPtr->cwdPtr == NULL) { return TCL_OK; } else { @@ -542,6 +543,7 @@ Tcl_FSConvertToPathType(interp, objPtr) return Tcl_ConvertToType(interp, objPtr, &tclFsPathType); } } +#endif } else { return Tcl_ConvertToType(interp, objPtr, &tclFsPathType); } |