]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
removing dead branch detected by coverity
authorrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 3 Feb 2011 14:19:20 +0000 (14:19 +0000)
committerrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 3 Feb 2011 14:19:20 +0000 (14:19 +0000)
HLT/BASE/AliHLTMisc.h

index 3047229adc63bf71b87bb959115f93df28a36925..ba33dbfbcc8a2f2ecaf77d5a20a99651f017b316 100644 (file)
@@ -139,9 +139,6 @@ T* AliHLTMisc::LoadInstance(const T* /*t*/, const char* classname, const char* l
       void* p=(*pNewFunc)(NULL);
       if (p) {
        pInstance=reinterpret_cast<T*>(p);
-       if (!pInstance) {
-         log.Logging(kHLTLogError, "AliHLTMisc::LoadInstance", "HLT Analysis", "type cast (%s) to instance failed", classname);
-       }
       } else {
        log.Logging(kHLTLogError, "AliHLTMisc::LoadInstance", "HLT Analysis", "can not create instance of type %s from class descriptor", classname);
       }