From e35b759027a0c07062564fa3cc570263a19e657b Mon Sep 17 00:00:00 2001
From: PeiYong Zhang <peiyongz@apache.org>
Date: Mon, 28 Apr 2003 19:29:00 +0000
Subject: [PATCH] remove unnecessary assignment

git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@174932 13f79535-47bb-0310-9956-ffa450edef68
---
 src/xercesc/framework/LocalFileInputSource.cpp | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/xercesc/framework/LocalFileInputSource.cpp b/src/xercesc/framework/LocalFileInputSource.cpp
index eef249fee..1e09dc2a0 100644
--- a/src/xercesc/framework/LocalFileInputSource.cpp
+++ b/src/xercesc/framework/LocalFileInputSource.cpp
@@ -159,12 +159,9 @@ LocalFileInputSource::LocalFileInputSource(const XMLCh* const filePath)
         int    filePathLen = XMLString::stringLen(filePath);
         XMLCh* fullDir = new XMLCh [ curDirLen + filePathLen + 2];
 
-        fullDir[0] = 0;
         XMLString::copyString(fullDir, curDir);
         fullDir[curDirLen] = chForwardSlash;
-        fullDir[curDirLen+1] = 0;
-        XMLString::catString(&fullDir[curDirLen+1], filePath);
-        fullDir[curDirLen+filePathLen+1] = 0;
+        XMLString::copyString(&fullDir[curDirLen+1], filePath);
         
         XMLPlatformUtils::removeDotSlash(fullDir);
         XMLPlatformUtils::removeDotDotSlash(fullDir);
-- 
GitLab