]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Fix for Coverity defect 10859: FORWARD_NULL
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 1 Feb 2011 19:29:44 +0000 (19:29 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 1 Feb 2011 19:29:44 +0000 (19:29 +0000)
STEER/AliHeader.cxx

index 622eae9c55c01fbdb417eb5a35dff577d93ec700..38703817358de87be9217dec903269dc638597d1 100644 (file)
@@ -196,12 +196,12 @@ void AliHeader::AddDetectorEventHeader(AliDetectorEventHeader* header)
 //  Some basic checks
 
     if (!header) {
-       Warning("AddDetectorEventHeader","Detector %s tries to add empty header \n", header->GetName());
+       Warning("AddDetectorEventHeader","Detector tries to add empty header \n");
        return;
     }
     
     if (strlen(header->GetName()) == 0) {
-       Warning("AddDetectorEventHeader","Detector %s tries to add header without name \n", header->GetName());
+       Warning("AddDetectorEventHeader","Detector tries to add header without name \n");
        return;
     }