Skip to content
Snippets Groups Projects
Commit 3900b00a authored by Walter Lampl's avatar Walter Lampl
Browse files

Merge branch 'clang.AthenaPoolServices-20181214' into 'master'

AthenaPoolServices: Fix clang warning.

See merge request atlas/athena!16766
parents e5b08409 755e4575
No related branches found
No related tags found
No related merge requests found
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
*/
/** @file AthenaRootStreamerSvc.cxx
......@@ -48,7 +48,7 @@ StatusCode AthenaRootStreamerSvc::initialize()
// create ROOT-type database object -
// this loads the ROOT storage service plugin and
// initializes POOL/ROOT class loader needed by GetClass()
if( ! session.db(pool::ROOT_StorageType) ) {
if( rc != pool::DbStatus::Success || ! session.db(pool::ROOT_StorageType) ) {
ATH_MSG_ERROR ( "Failed to open POOL/ROOT session" );
return StatusCode::FAILURE;
}
......
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