From 82c4b996805d7eb404b6bb5d6a66c0f11995f272 Mon Sep 17 00:00:00 2001 From: hobbs Date: Thu, 27 Feb 2003 23:47:16 +0000 Subject: * generic/tclIOUtil.c (MakeFsPathFromRelative): removed dead code check of typePtr (darley). --- generic/tclIOUtil.c | 8 ++------ 1 file 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) { -- cgit v0.12