From: abercuci Date: Mon, 28 Feb 2011 14:16:41 +0000 (+0000) Subject: avoid crash as described by https://savannah.cern.ch/bugs/?78827 X-Git-Url: http://git.uio.no/git/?a=commitdiff_plain;h=596f82fb05625927443d52af3f61b93412f36980;p=u%2Fmrichter%2FAliRoot.git avoid crash as described by https://savannah.cern.ch/bugs/?78827 --- diff --git a/PWG1/TRD/AliTRDresolution.cxx b/PWG1/TRD/AliTRDresolution.cxx index dc51e274e17..ab4dcfccbe6 100644 --- a/PWG1/TRD/AliTRDresolution.cxx +++ b/PWG1/TRD/AliTRDresolution.cxx @@ -767,6 +767,7 @@ TH1* AliTRDresolution::PlotTrackOut(const AliTRDtrackV1 *track) // PID calculation. if(track) fkTrack = track; + return NULL; if(!fkTrack){ AliDebug(4, "No Track defined."); return NULL;