From 6b44b00692e9e8a46b2e1686869fabb61bd5aa94 Mon Sep 17 00:00:00 2001 From: Rene Brun <Rene.Brun@cern.ch> Date: Tue, 11 Apr 2006 18:08:15 +0000 Subject: [PATCH] Fix a compilation warning in the new TH1::FFT function. git-svn-id: http://root.cern.ch/svn/root/trunk@14650 27541ba8-7e3a-0410-8455-c3a389f83636 --- Makefile | 2 +- hist/src/TH1.cxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 1c9709a3f41..25958f53b99 100644 --- a/Makefile +++ b/Makefile @@ -55,7 +55,7 @@ MODULES = build cint metautils pcre utils base cont meta net auth zip \ clib matrix newdelete hist tree freetype graf g3d gpad gui \ minuit histpainter treeplayer treeviewer physics postscript \ rint html eg geom geompainter vmc fumili mlp gedold ged quadp \ - guibuilder xml foam splot smatrix sql + guibuilder xml foam splot smatrix sql tmva ifeq ($(ARCH),win32) MODULES += winnt win32gdk diff --git a/hist/src/TH1.cxx b/hist/src/TH1.cxx index c857836318c..7ff32cc5cc2 100644 --- a/hist/src/TH1.cxx +++ b/hist/src/TH1.cxx @@ -1,4 +1,4 @@ -// @(#)root/hist:$Name: $:$Id: TH1.cxx,v 1.282 2006/03/20 21:43:42 pcanal Exp $ +// @(#)root/hist:$Name: $:$Id: TH1.cxx,v 1.283 2006/04/11 16:17:37 brun Exp $ // Author: Rene Brun 26/12/94 /************************************************************************* @@ -6604,7 +6604,7 @@ TH1* TH1::TransformHisto(TVirtualFFT *fft, TH1* h_output, Option_t *option) TString opt = option; opt.ToUpper(); Int_t *n = fft->GetN(); - TH1 *hout; + TH1 *hout=0; if (h_output) hout = h_output; else { char name[10]; -- GitLab