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/tclPathObj.c | |
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/tclPathObj.c')
-rw-r--r-- | generic/tclPathObj.c | 4 |
1 files changed, 3 insertions, 1 deletions
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); } |