From f39d218f0f59f642b3fec14d586abc9b0a2bbb0f Mon Sep 17 00:00:00 2001 From: Laurids Jeppe Date: Tue, 12 Mar 2024 18:16:06 +0100 Subject: [PATCH] Remove unused variable --- GeneratorInterface/Pythia8Interface/plugins/PowhegHooksBB4L.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/GeneratorInterface/Pythia8Interface/plugins/PowhegHooksBB4L.h b/GeneratorInterface/Pythia8Interface/plugins/PowhegHooksBB4L.h index f0c5274f42778..781d36c87209a 100644 --- a/GeneratorInterface/Pythia8Interface/plugins/PowhegHooksBB4L.h +++ b/GeneratorInterface/Pythia8Interface/plugins/PowhegHooksBB4L.h @@ -180,10 +180,8 @@ namespace Pythia8 { // find the resonance the radiator originates from int iRes = e[iRadBef].mother1(); - int distance = 1; while (iRes > 0 && (abs(e[iRes].id()) != 6 && abs(e[iRes].id()) != 24)) { iRes = e[iRes].mother1(); - distance++; } if (iRes == 0) { infoPtr->errorMsg(