mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 23:10:58 +00:00
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:
parent
4810026677
commit
f2b98e27f8
@ -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(':'));
|
||||||
|
Loading…
Reference in New Issue
Block a user