diff --git a/src/WINNT/afsd/cm_ioctl.c b/src/WINNT/afsd/cm_ioctl.c index c6d29fc4a9..5d246633bb 100644 --- a/src/WINNT/afsd/cm_ioctl.c +++ b/src/WINNT/afsd/cm_ioctl.c @@ -2091,15 +2091,13 @@ cm_IoctlSymlink(struct cm_ioctl *ioctlp, struct cm_user *userp, cm_scache_t *dsc afs_int32 code; cm_attr_t tattr; char *cp; - char *symlp; - int free_syml = FALSE; if (!(ioctlp->flags & CM_IOCTLFLAG_USEUTF8)) { /* Translate chars for the linked to name */ TranslateExtendedChars(ioctlp->inDatap); } - cp = symlp = ioctlp->inDatap; /* contents of link */ + cp = ioctlp->inDatap; /* contents of link */ #ifdef AFS_FREELANCE_CLIENT if (cm_freelanceEnabled && dscp == cm_data.rootSCachep) { @@ -2118,7 +2116,7 @@ cm_IoctlSymlink(struct cm_ioctl *ioctlp, struct cm_user *userp, cm_scache_t *dsc cp = p; } - osi_Log0(afsd_logp,"IoctlCreateSymlink within Freelance root dir"); + osi_Log0(afsd_logp,"IoctlSymlink within Freelance root dir"); fsleaf = cm_ClientStringToFsStringAlloc(leaf, -1, NULL); code = cm_FreelanceAddSymlink(fsleaf, cp, NULL); free(fsleaf); @@ -2231,7 +2229,6 @@ cm_IoctlIslink(struct cm_ioctl *ioctlp, struct cm_user *userp, cm_scache_t *dscp TranslateExtendedChars(ioctlp->inDatap); } cp = ioctlp->inDatap; - osi_LogEvent("cm_IoctlListlink",NULL," name[%s]",cp); clientp = cm_Utf8ToClientStringAlloc(cp, -1, NULL); code = cm_Lookup(dscp, clientp[0] ? clientp : L".", CM_FLAG_NOMOUNTCHASE, userp, reqp, &scp);