Skip to content
Snippets Groups Projects
Commit f28dbaad authored by Scott Snyder's avatar Scott Snyder Committed by Frank Winklmeier
Browse files

ByteStreamStoragePlugins: Suppress cppcheck warnings.

ByteStreamStoragePlugins: Suppress cppcheck warnings.

Strings passed by value.
(Can't change because the interface is defined in tdaq.)
parent d6f09351
No related branches found
No related tags found
No related merge requests found
......@@ -70,6 +70,7 @@ bool fReadDavix::isEoF()
return false;
}
// cppcheck-suppress passedByValue; interface defined in EventStorage.
bool fReadDavix::fileExists(std::string fName) const
{
Davix::DavixError* err2 = NULL;
......@@ -79,6 +80,7 @@ bool fReadDavix::fileExists(std::string fName) const
return true;
}
// cppcheck-suppress passedByValue; interface defined in EventStorage.
void fReadDavix::openFile(std::string fName)
{
if(this->isOpen()) this->closeFile();
......
......@@ -39,6 +39,7 @@ bool fReadXRootD::isEoF()
return false;
}
// cppcheck-suppress passedByValue; interface defined in EventStorage.
bool fReadXRootD::fileExists(std::string fName) const
{
int pfd = XrdPosixXrootd::Open(fName.c_str(), O_RDONLY);
......@@ -47,6 +48,7 @@ bool fReadXRootD::fileExists(std::string fName) const
return true;
}
// cppcheck-suppress passedByValue; interface defined in EventStorage.
void fReadXRootD::openFile(std::string fName)
{
if(this->isOpen()) this->closeFile();
......
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