]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSQASSDRefData.cxx
Fixes for Coverity warnings
[u/mrichter/AliRoot.git] / ITS / AliITSQASSDRefData.cxx
index d48989301b84d6aba07a2f273378f17a8c9d99b0..1192ee56c1ad66004c2432c756d3ae3b9f7aecae 100644 (file)
@@ -97,7 +97,7 @@ void AliITSQASSDRefData::AddReference(const char* name="",
     return;
   }
   
-  if(name!=""&&GetID(name)!=-1) {
+  if( (strcmp(name,"")!=0) && GetID(name)!=-1) {
     AliError(Form("Reference with name %s already exists. Choose other name or use SetReferenceValue(const char*, Double_t) to overwrite",name));
     return;
   }