Hi,
here a nice catch made by clang in out code:
x.cxx:226:19: warning: expression result unused
if (ref||!TFile::Open("file.root"),"CACHEREAD") {
only clang found this, not a single other compiler are other static analyzers (and we use most compilers available in the world)!!
The correct code is:
if (ref||!TFile::Open("file.root","CACHEREAD")) {
Cheers, Fons.