diff options
author | hobbs <hobbs> | 2003-02-27 23:47:16 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2003-02-27 23:47:16 (GMT) |
commit | 82c4b996805d7eb404b6bb5d6a66c0f11995f272 (patch) | |
tree | 2b755bd546c2ec69bc12adc7940d65949d64bf33 /generic/tclIOUtil.c | |
parent | 70e7c9f3f4a09d719e83573011f50fa01e861bd7 (diff) | |
download | tcl-82c4b996805d7eb404b6bb5d6a66c0f11995f272.zip tcl-82c4b996805d7eb404b6bb5d6a66c0f11995f272.tar.gz tcl-82c4b996805d7eb404b6bb5d6a66c0f11995f272.tar.bz2 |
* generic/tclIOUtil.c (MakeFsPathFromRelative): removed dead code
check of typePtr (darley).
Diffstat (limited to 'generic/tclIOUtil.c')
-rw-r--r-- | generic/tclIOUtil.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/generic/tclIOUtil.c b/generic/tclIOUtil.c index da92683..43c9f5a 100644 --- a/generic/tclIOUtil.c +++ b/generic/tclIOUtil.c @@ -17,7 +17,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclIOUtil.c,v 1.75 2003/02/11 11:07:04 hobbs Exp $ + * RCS: @(#) $Id: tclIOUtil.c,v 1.76 2003/02/27 23:47:16 hobbs Exp $ */ #include "tclInt.h" @@ -4062,11 +4062,7 @@ MakeFsPathFromRelative(interp, objPtr, cwdPtr) Tcl_Obj *cwdPtr; /* The object to convert. */ { FsPath *fsPathPtr; - - if (objPtr->typePtr == &tclFsPathType) { - return TCL_OK; - } - + /* Free old representation */ if (objPtr->typePtr != NULL) { if (objPtr->bytes == NULL) { |