Warning corrected.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 11 May 2010 11:12:27 +0000 (11:12 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 11 May 2010 11:12:27 +0000 (11:12 +0000)
ANALYSIS/AliAnalysisTaskTagCreator.cxx

index f92be79..7ceeaef 100644 (file)
@@ -84,7 +84,9 @@ void AliAnalysisTaskTagCreator::ConnectInputData(Option_t * /*option*/)
 {
     // Initialization
     const char* turl = gSystem->Getenv("ALIEN_JDL_OUTPUTDIR");
-    if (turl != "") {
+    TString sturl = turl;
+    
+    if (sturl.Length() != 0) {
       fAODFileName = "alien://";
       fAODFileName += turl;
       fAODFileName += "/AliAOD.root";