Skip to content

Commit

Permalink
Remove unused variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
abh3 committed Mar 22, 2016
1 parent b81e0bf commit dc7c497
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/XrdPosix/XrdPosixXrootd.cc
Expand Up @@ -1304,7 +1304,6 @@ void XrdPosixXrootd::initEnv(char *eData)
XrdOucCacheIO::aprParms apParms;
XrdOucCache *v1Cache;
long long Val;
int isRW = 0;
char * tP;

// Get numeric type variable (errors force a default)
Expand Down Expand Up @@ -1350,7 +1349,7 @@ void XrdPosixXrootd::initEnv(char *eData)
myParms.Options |= XrdOucCache::logStats;
if ((tP = theEnv.Get("optpr")) && *tP && *tP != '0')
myParms.Options |= XrdOucCache::canPreRead;
if ((tP = theEnv.Get("optwr")) && *tP && *tP != '0') isRW = 1;
// if ((tP = theEnv.Get("optwr")) && *tP && *tP != '0') isRW = 1;

// Use the default cache if one was not provided
//
Expand Down

0 comments on commit dc7c497

Please sign in to comment.