]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Compilation warnings fixed. In fact the first one was reasonable, the code did not...
authorcvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 16 Aug 2008 13:02:57 +0000 (13:02 +0000)
committercvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 16 Aug 2008 13:02:57 +0000 (13:02 +0000)
STEER/AliReconstruction.cxx
STEER/AliReconstruction.h

index 758327cb9f8185b04b7fd452d6856471c04b49f6..76016869cbee0cd898f9d078093fe219d2d16729 100644 (file)
@@ -1122,7 +1122,7 @@ void AliReconstruction::Begin(TTree *)
 
   AliReconstruction *reco = NULL;
   if (fInput) {
-    if (reco = (AliReconstruction*)fInput->FindObject("AliReconstruction")) {
+    if ((reco = (AliReconstruction*)fInput->FindObject("AliReconstruction"))) {
       *this = *reco;
     }
     AliSysInfo::AddStamp("ReadInputInBegin");
index b30f1a11c4b0fac30fec15210d3e90a0232f6a60..0b3a1549e6f17f8ed9674089b7ba91d4de96feae 100644 (file)
@@ -129,6 +129,9 @@ public:
   virtual void   Terminate();
   virtual Bool_t Run(const char* input = NULL);
   void           Abort(const char *method, EAbort what);
+  virtual void  SetOption(const char* option) {
+    TSelector::SetOption(option);
+  }
 
   // Trackers
   AliTracker* GetTracker(Int_t idx) { return fTracker[idx]; }