Import Geant4 11.1.1 source tree
This commit is contained in:
@@ -6,6 +6,9 @@ It must **not** be used as a substitute for writing good git commit messages!
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
## 2023-02-06 Gabriele Cosmo (hadr-qgsm-V11-00-04)
|
||||
- Fixed potential uninitialised variables in G4QGSMSplitableHadron::GetValenceQuarkFlavors().
|
||||
|
||||
## 2022-10-07 Gabriele Cosmo (hadr-qgsm-V11-00-03)
|
||||
- Fixed compilation warning on Intel/icx compiler for variables set
|
||||
but not used in G4QGSMSplitableHadron and G4QGSParticipants.
|
||||
|
||||
@@ -225,8 +225,8 @@ void G4QGSMSplitableHadron::GetValenceQuarkFlavors(const G4ParticleDefinition *
|
||||
G4Parton *& Parton1, G4Parton *& Parton2)
|
||||
{
|
||||
// Note! convention aEnd = q or (qq)bar and bEnd = qbar or qq.
|
||||
G4int aEnd;
|
||||
G4int bEnd;
|
||||
G4int aEnd=0;
|
||||
G4int bEnd=0;
|
||||
G4int HadronEncoding = aPart->GetPDGEncoding();
|
||||
if (aPart->GetBaryonNumber() == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user