From 544b08e93f6d93b2df03e2c836dac33fdacebb6e Mon Sep 17 00:00:00 2001 From: Michal Simon Date: Mon, 22 Jun 2020 10:11:23 +0200 Subject: [PATCH] Fix builds. --- src/XrdOss/XrdOssUnlink.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/XrdOss/XrdOssUnlink.cc b/src/XrdOss/XrdOssUnlink.cc index 3085eab94f1..d9cd9e48efe 100644 --- a/src/XrdOss/XrdOssUnlink.cc +++ b/src/XrdOss/XrdOssUnlink.cc @@ -108,7 +108,7 @@ int XrdOssSys::Unlink(const char *path, int Opts, XrdOucEnv *eP) unsigned long long dummy, remotefs; int i, retc2, doAdjust = 0, retc = XrdOssOK; struct stat statbuff; - char *fnp; + //char *fnp; char local_path[MAXPATHLEN+1+8]; char remote_path[MAXPATHLEN+1]; @@ -141,7 +141,7 @@ int XrdOssSys::Unlink(const char *path, int Opts, XrdOucEnv *eP) // if (!retc) {if (unlink(local_path)) retc = -errno; - else {i = strlen(local_path); fnp = &local_path[i]; + else {i = strlen(local_path); //fnp = &local_path[i]; if (doAdjust && statbuff.st_size) XrdOssCache::Adjust(statbuff.st_dev, -statbuff.st_size); }