- added default CDB initialization to AliHLTComponent: CDB storage and
[u/mrichter/AliRoot.git] / HLT / BASE / AliHLTComponentHandler.cxx
index c26cc14341108692bfe5c57c1fb2f63b9c24628e..5a16e0d2f39b8e27b2694817ab8dc2cc3f1b9a59 100644 (file)
@@ -191,9 +191,7 @@ int AliHLTComponentHandler::CreateComponent(const char* componentID, void* pEnvP
       component=pSample->Spawn();
       if (component) {
        HLTDebug("component \"%s\" created (%p)", componentID, component);
-       if (cdbPath) {
-         component->InitCDB(cdbPath, this);
-       }
+       component->InitCDB(cdbPath, this);
        if ((iResult=component->Init(&fEnvironment, pEnvParam, argc, argv))!=0) {
          HLTError("Initialization of component \"%s\" failed with error %d", componentID, iResult);
          delete component;