Skip to content
Snippets Groups Projects
Commit f7bfc421 authored by Johannes Elmsheuser's avatar Johannes Elmsheuser Committed by Graeme Stewart
Browse files

Fix coverity 111962: initialize variable fd (ByteStreamStoragePlugins-00-01-04)

2017-01-19 Johannes Elmsheuser <Johannes.Elmsheuser@cern.ch>
	* Fix coverity 111962: initialize variable fd
	* Tagging as ByteStreamStoragePlugins-00-01-04

2016-10-25 Johannes Elmsheuser <Johannes.Elmsheuser@cern.ch>
parent 425dfdf0
No related branches found
No related tags found
No related merge requests found
......@@ -34,6 +34,7 @@ fReadDavix::fReadDavix()
{
m_pfd = 0;
fOffset = 0;
fd = nullptr;
davixParam = new Davix::RequestParams();
err = NULL;
......
......@@ -26,14 +26,14 @@ class fReadDavix : public fRead
fRead * newReader() const;
private:
int m_pfd; // current file
int m_pfd; // current file, used as bool to check if file is open
int64_t fOffset;
Davix::Context c;
Davix::RequestParams *davixParam;
Davix::DavixError* err;
Davix::DavPosix *pos;
Davix::X509Credential *cert;
DAVIX_FD* fd;
DAVIX_FD* fd; // davix pointer to current file
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment