Skip to content
Snippets Groups Projects
Commit 942e3230 authored by Scott Snyder's avatar Scott Snyder Committed by Tadej Novak
Browse files

Monopole: Suppress cppcheck false positive.

Monopole: Suppress cppcheck false positive.

Suppress false-positive nullPointerRedundantCheck warning.
(cppcheck misses that G4Exception doesn't return.)
parent ec3e74b4
No related branches found
No related tags found
No related merge requests found
......@@ -208,6 +208,7 @@ G4mplEquationSetup::CreateStepperToChordFinder(G4MagneticField* magFieldNC)
delete fMonopoleChordFinder;
auto integrDriver = new G4MagInt_Driver( fMinStep, fMonopoleStepper,
// cppcheck-suppress nullPointerRedundantCheck; false positive
fMonopoleStepper->GetNumberOfVariables() );
fMonopoleChordFinder = new G4ChordFinder( integrDriver );
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment