Windows: remove unused code from cm_FollowMountPoint

The variable 'tlen' is set to the length of the mount point
target string but is never used.  Remove it.

LICENSE MIT

Change-Id: I1e53831eff90962c93720831a210faa019e38d67
Reviewed-on: http://gerrit.openafs.org/1886
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
This commit is contained in:
Jeffrey Altman 2010-05-02 13:21:12 -04:00 committed by Jeffrey Altman
parent 4810026677
commit f2b98e27f8

View File

@ -893,7 +893,6 @@ long cm_FollowMountPoint(cm_scache_t *scp, cm_scache_t *dscp, cm_user_t *userp,
{ {
fschar_t *cellNamep = NULL; fschar_t *cellNamep = NULL;
fschar_t *volNamep = NULL; fschar_t *volNamep = NULL;
int tlen;
afs_uint32 code; afs_uint32 code;
fschar_t *cp; fschar_t *cp;
fschar_t *mpNamep; fschar_t *mpNamep;
@ -918,7 +917,6 @@ long cm_FollowMountPoint(cm_scache_t *scp, cm_scache_t *dscp, cm_user_t *userp,
mpNamep = scp->mountPointStringp; mpNamep = scp->mountPointStringp;
if (!mpNamep[0]) if (!mpNamep[0])
return CM_ERROR_NOSUCHPATH; return CM_ERROR_NOSUCHPATH;
tlen = cm_FsStrLen(scp->mountPointStringp);
mtType = *scp->mountPointStringp; mtType = *scp->mountPointStringp;
cp = cm_FsStrChr(mpNamep, _FS(':')); cp = cm_FsStrChr(mpNamep, _FS(':'));