Skip to content

Commit

Permalink
Add missing initialization.
Browse files Browse the repository at this point in the history
  • Loading branch information
alja authored and abh3 committed Jun 30, 2016
1 parent 2cb7896 commit 5daa625
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/XrdPosix/XrdPosixObjGaurd.hh
Expand Up @@ -44,7 +44,7 @@ void Init(XrdPosixFile *fP)

void Release() {if (gaurdP) {gaurdP->updUnLock(); gaurdP = 0;}}

XrdPosixObjGaurd(XrdPosixFile *fP) {Init(fP);}
XrdPosixObjGaurd(XrdPosixFile *fP):fP(0) {Init(fP);}
~XrdPosixObjGaurd() {Release();}

private:
Expand Down

0 comments on commit 5daa625

Please sign in to comment.