Skip to content
Snippets Groups Projects
Commit 466cc043 authored by Benjamin Morgan's avatar Benjamin Morgan
Browse files

Fix maybe-unitialized warning observed in AtlasExternals+Athnea in RelWithDebInfo mode

parent 2c93879b
No related branches found
No related tags found
No related merge requests found
......@@ -115,7 +115,10 @@ G4MagInt_Driver::AccurateAdvance(G4FieldTrack& y_current,
#endif
G4double y[G4FieldTrack::ncompSVEC], dydx[G4FieldTrack::ncompSVEC];
G4double ystart[G4FieldTrack::ncompSVEC], yEnd[G4FieldTrack::ncompSVEC];
G4double ystart[G4FieldTrack::ncompSVEC];
G4double yEnd[G4FieldTrack::ncompSVEC] = {0., 0., 0., 0.,
0., 0., 0., 0.,
0., 0., 0., 0.};
G4double x1, x2;
G4bool succeeded = true, lastStepSucceeded;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment