Remove unused var CwdParts