diff --git a/GeneratorInterface/Pythia8Interface/plugins/TopRecoilHook.h b/GeneratorInterface/Pythia8Interface/plugins/TopRecoilHook.h index c07c84ef9e4c9..309089939325c 100644 --- a/GeneratorInterface/Pythia8Interface/plugins/TopRecoilHook.h +++ b/GeneratorInterface/Pythia8Interface/plugins/TopRecoilHook.h @@ -33,11 +33,7 @@ namespace Pythia8 { } // Destructor prints histogram. - ~TopRecoilHook() override { - if (doTopRecoil) - ; - delete wtCorr; - } + ~TopRecoilHook() override { delete wtCorr; } // Initialise. Only use hook for simple showers with recoilToColoured = off. bool initAfterBeams() override {