From ab0b9f0be372f6a9d06e6b71eb027ece2b2b68fc Mon Sep 17 00:00:00 2001 From: kir Date: Tue, 23 May 2006 13:20:02 +0000 Subject: [PATCH] might be used uninitialized warning fixed in tracker, also private Makefile upgraded in a line with official one --- RICH/AliRICHTracker.cxx | 2 +- RICH/RichMake | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/RICH/AliRICHTracker.cxx b/RICH/AliRICHTracker.cxx index 28526903d71..60f91cec056 100644 --- a/RICH/AliRICHTracker.cxx +++ b/RICH/AliRICHTracker.cxx @@ -211,7 +211,7 @@ void AliRICHTracker::EsdQA(Bool_t isPrint) Int_t iNevt=pTr->GetEntries(); Printf("This ESD contains %i events",iNevt); //AliRICHParam *pPar; - TH1D *pDx,*pDy,*pProbEl,*pProbMu,*pProbPi,*pProbKa,*pProbPr; TH2F *pThP; TProfile *pChiTh; + TH1D *pDx=0,*pDy=0,*pProbEl=0,*pProbMu=0,*pProbPi=0,*pProbKa=0,*pProbPr=0; TH2F *pThP=0; TProfile *pChiTh=0; if(!isPrint){ TH1::AddDirectory(kFALSE); pDx =new TH1D("dX" ,"distance between Xmip and Xtrack;cm",300,-1.5,1.5); diff --git a/RICH/RichMake b/RICH/RichMake index 724e17f20cc..8357c77a647 100644 --- a/RICH/RichMake +++ b/RICH/RichMake @@ -44,7 +44,7 @@ ifeq ($(RootTarget),linuxicc) LibOpt :=-g -shared -Wl else Compiler :=g++ - CompilerOpt :=-g -W -Wall -Woverloaded-virtual -fPIC -pipe -fmessage-length=0 -Wno-long-long -pedantic-errors -ansi -I$(shell root-config --incdir) -I$(ALICE_ROOT)/include + CompilerOpt :=-O -g -W -Wall -Werror -Woverloaded-virtual -fPIC -pipe -fmessage-length=0 -Wno-long-long -pedantic-errors -ansi -Dlinux -D`uname` -I$(shell root-config --incdir) -I$(ALICE_ROOT)/include LibOpt :=-g -shared -Wl endif -- 2.43.0