Skip to content

Commit

Permalink
Remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
lauridsj committed Mar 12, 2024
1 parent 166e3b0 commit f39d218
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions GeneratorInterface/Pythia8Interface/plugins/PowhegHooksBB4L.h
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit f39d218

Please sign in to comment.