Skip to content

Commit

Permalink
In madevent_driver.f template, remove unnecessary 'fine2=' line to av…
Browse files Browse the repository at this point in the history
…oid valgrind warning

Warning from valgrind is "Conditional jump or move depends on uninitialised value(s)"
  • Loading branch information
valassi committed Oct 9, 2024
1 parent a7f4f9e commit 86aca4d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion madgraph/iolibs/template_files/madevent_driver.f
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,6 @@ subroutine open_file_local(lun,filename,fopened)
fopened=.false.
tempname=filename
fine=index(tempname,' ')
fine2=index(path,' ')-1
if(fine.eq.0) fine=len(tempname)
open(unit=lun,file=tempname,status='old',ERR=20)
fopened=.true.
Expand Down

0 comments on commit 86aca4d

Please sign in to comment.