Skip to content

Commit

Permalink
[XrdFfs] Avoid set-but-not-used errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ljanyst committed Nov 18, 2013
1 parent ce0bcea commit 341377f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/XrdFfs/XrdFfsXrootdfs.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1195,8 +1195,6 @@ static int xrootdfs_opt_proc(void* data, const char* arg, int key, struct fuse_a

int main(int argc, char *argv[])
{
static XrdPosixXrootd *abc; // We will do one time init for posix interface

xrootdfs_oper.init = xrootdfs_init;
xrootdfs_oper.getattr = xrootdfs_getattr;
xrootdfs_oper.access = xrootdfs_access;
Expand Down Expand Up @@ -1364,7 +1362,7 @@ int main(int argc, char *argv[])
number of virtual file descriptors and we don't know that until now.
*/
if (xrootdfs.maxfd < 2048) xrootdfs.maxfd = 2048;
abc = new XrdPosixXrootd(-xrootdfs.maxfd);
XrdPosixXrootd abc(-xrootdfs.maxfd);

return fuse_main(args.argc, args.argv, &xrootdfs_oper, NULL);
}
Expand Down

0 comments on commit 341377f

Please sign in to comment.